aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorTim Felgentreff2010-06-01 09:52:34 +0200
committerAdam Vandenberg2010-06-01 07:46:44 -0700
commitf5d74c9ebe6fa4ba8f3ab380ec10e98c843b45c0 (patch)
treedef94f7a9f259b6f9843d5b0a175f3941fcafbfc /Library
parent34898e7284114684690d958757d889c6bb042d07 (diff)
downloadhomebrew-f5d74c9ebe6fa4ba8f3ab380ec10e98c843b45c0.tar.bz2
Formula for unix2dos added
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-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