diff options
| author | Tim Felgentreff | 2010-06-01 09:52:34 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2010-06-01 07:46:44 -0700 |
| commit | f5d74c9ebe6fa4ba8f3ab380ec10e98c843b45c0 (patch) | |
| tree | def94f7a9f259b6f9843d5b0a175f3941fcafbfc /Library/Formula | |
| parent | 34898e7284114684690d958757d889c6bb042d07 (diff) | |
| download | homebrew-f5d74c9ebe6fa4ba8f3ab380ec10e98c843b45c0.tar.bz2 | |
Formula for unix2dos added
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/unix2dos.rb | 15 |
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 |
