diff options
| author | Max Howell | 2009-06-08 16:00:25 +0100 | 
|---|---|---|
| committer | Max Howell | 2009-06-08 16:00:25 +0100 | 
| commit | ccde086382e1b9416c1a53a844abd3633751983b (patch) | |
| tree | d34735b2acf4b4e6ec04fa7fde3c6774251cf861 /Library/Formula/dos2unix.rb | |
| parent | 616ab255a681287af43cc843ee9912ae3d5b973e (diff) | |
| download | homebrew-ccde086382e1b9416c1a53a844abd3633751983b.tar.bz2 | |
dos2unix formula
Diffstat (limited to 'Library/Formula/dos2unix.rb')
| -rw-r--r-- | Library/Formula/dos2unix.rb | 15 | 
1 files changed, 15 insertions, 0 deletions
diff --git a/Library/Formula/dos2unix.rb b/Library/Formula/dos2unix.rb new file mode 100644 index 000000000..c045501a1 --- /dev/null +++ b/Library/Formula/dos2unix.rb @@ -0,0 +1,15 @@ +require 'brewkit' + +class Dos2unix <Formula +  @url='http://www.sfr-fresh.com/linux/misc/dos2unix-3.1.tar.gz' +  @md5='25ff56bab202de63ea6f6c211c416e96' +  @homepage='http://www.sfr-fresh.com/linux/misc/' + +  def install +    system "make clean" +    system "make" +    # make install is broken due to INSTALL file, but also it sucks so we'll do it +    bin.mv_from ['dos2unix', 'mac2unix'] +    man1.mv_from ['dos2unix.1', 'mac2unix.1'] +  end +end  | 
