diff options
| author | Sebastian Staudt | 2011-04-11 13:46:46 +0200 |
|---|---|---|
| committer | Adam Vandenberg | 2011-04-11 07:11:22 -0700 |
| commit | 5051724d1fa99b22a5a247f4837b5c2a6908dcd6 (patch) | |
| tree | cad85e94f740c94a1717a83978a416dc6db4cc73 /Library/Formula | |
| parent | a8ca8d095deddabeb855037e0cac0564426b17de (diff) | |
| download | homebrew-5051724d1fa99b22a5a247f4837b5c2a6908dcd6.tar.bz2 | |
Updated to dos2unix 3.2
The source for dos2unix 3.1 wasn't available anymore. I switched to this
slightly updated version. There are already newer versions on SourceForge,
but I wanted to make it work again first.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/dos2unix.rb | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/Library/Formula/dos2unix.rb b/Library/Formula/dos2unix.rb index e5568aefd..238856cd8 100644 --- a/Library/Formula/dos2unix.rb +++ b/Library/Formula/dos2unix.rb @@ -1,22 +1,16 @@ require 'formula' class Dos2unix < Formula - url 'http://www.sfr-fresh.com/linux/misc/old/dos2unix-3.1.tar.gz' - md5 '25ff56bab202de63ea6f6c211c416e96' - homepage 'http://www.sfr-fresh.com/linux/misc/' + url 'http://sourceforge.net/projects/dos2unix/files/dos2unix/3.2/dos2unix-3.2.tar.gz' + md5 'db3902feba8a4bae26e9a1bd27c7ce53' + homepage 'http://dos2unix.sourceforge.net/' def install - File.unlink 'dos2unix' - # we don't use the Makefile as it doesn't optimize system "#{ENV.cc} #{ENV.cflags} dos2unix.c -o dos2unix" - # make install is broken due to INSTALL file, but also it sucks so we'll do it - # also Ruby 1.8 is broken, it won't allow you to move a symlink that's - # target is invalid. FFS very dissapointed with dependability of - # fundamental Ruby functions. Maybe we shouldn't use them? - # Anyway, that is why the symlink is installed first. - bin.install %w[mac2unix dos2unix] + bin.install %w[dos2unix] + ln_sf bin+'dos2unix', bin+'mac2unix' man1.install %w[mac2unix.1 dos2unix.1] end end |
