aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/unix2dos.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/unix2dos.rb b/Library/Formula/unix2dos.rb
new file mode 100644
index 000000000..40d473fc6
--- /dev/null
+++ b/Library/Formula/unix2dos.rb
@@ -0,0 +1,15 @@
+require 'formula'
+
+class Unix2dos < Formula
+ url 'http://www.sfr-fresh.com/linux/misc/old/unix2dos-2.2.src.tar.gz'
+ md5 'caf9f33155073d3efd310eff9103170b'
+ homepage 'http://www.sfr-fresh.com/linux/misc/'
+
+ def install
+ # we don't use the Makefile as it doesn't optimize
+ system "#{ENV.cc} #{ENV['CFLAGS']} unix2dos.c -o unix2dos"
+
+ bin.install %w[unix2dos]
+ man1.install %w[unix2dos.1]
+ end
+end