homebrew-core/Formula/dos2unix.rb

16 lines
438 B
Ruby
Raw Normal View History

2009-06-08 15:00:25 +00:00
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
2009-06-14 23:55:18 +00:00
bin.install ['dos2unix', 'mac2unix']
man1.install ['dos2unix.1', 'mac2unix.1']
2009-06-08 15:00:25 +00:00
end
end