dos2unix formula
This commit is contained in:
parent
c70918c00b
commit
f207933a60
1 changed files with 15 additions and 0 deletions
15
Formula/dos2unix.rb
Normal file
15
Formula/dos2unix.rb
Normal 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
|
Loading…
Reference in a new issue