2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-09-24 17:59:29 +00:00
|
|
|
|
2011-03-10 05:11:03 +00:00
|
|
|
class Mmv < Formula
|
2010-09-30 17:35:08 +00:00
|
|
|
url "http://mirrors.kernel.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz"
|
2011-09-19 15:51:54 +00:00
|
|
|
mirror 'http://ftp.us.debian.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz'
|
2012-09-03 18:33:56 +00:00
|
|
|
sha1 '538a26b1d7e8b9bc286843e6aa2d8d959d8914bb'
|
2009-09-24 17:59:29 +00:00
|
|
|
homepage 'http://packages.debian.org/unstable/utils/mmv'
|
|
|
|
|
|
|
|
def patches
|
2011-10-15 16:11:28 +00:00
|
|
|
"http://ftp.us.debian.org/debian/pool/main/m/mmv/mmv_1.01b-15.diff.gz"
|
2009-09-24 17:59:29 +00:00
|
|
|
end
|
|
|
|
|
|
|
|
def install
|
|
|
|
system "make"
|
|
|
|
|
|
|
|
bin.install 'mmv'
|
|
|
|
man1.install 'mmv.1'
|
|
|
|
|
|
|
|
%w[mcp mad mln].each do |mxx|
|
2010-04-07 05:58:35 +00:00
|
|
|
ln bin+'mmv', bin+mxx
|
|
|
|
ln man1+'mmv.1', man1+"#{mxx}.1"
|
2009-09-24 17:59:29 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|