7bd947eb0b
* Use new "url" features * Use keg_only DSL * Use "skip_clean :all" DSL * Whitespace and style cleanups * Make bash invocations less silly * Use new man2-man8 helpers * Remove "FileUtils." since it is included in Formula * Use real names for deps instead of aliases * ENV.x11 now updates path, so remove that from individual brews
23 lines
513 B
Ruby
23 lines
513 B
Ruby
require 'formula'
|
|
|
|
class Mmv <Formula
|
|
url "http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz"
|
|
md5 '1b2135ab2f17bdfa9e08debbb3c46ad8'
|
|
homepage 'http://packages.debian.org/unstable/utils/mmv'
|
|
|
|
def patches
|
|
"http://ftp.de.debian.org/debian/pool/main/m/mmv/mmv_1.01b-15.diff.gz"
|
|
end
|
|
|
|
def install
|
|
system "make"
|
|
|
|
bin.install 'mmv'
|
|
man1.install 'mmv.1'
|
|
|
|
%w[mcp mad mln].each do |mxx|
|
|
ln bin+'mmv', bin+mxx
|
|
ln man1+'mmv.1', man1+"#{mxx}.1"
|
|
end
|
|
end
|
|
end
|