dos2unix formula

This commit is contained in:
Max Howell 2009-06-08 16:00:25 +01:00
parent c70918c00b
commit f207933a60

15
Formula/dos2unix.rb Normal file
View file

@ -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