homebrew-core/Formula/mmv.rb
Sean Lynch 737e66e4f2 mmv: get patches from debian ftp
mirrors.kernel.org doesn't have this (yet?).

Closes Homebrew/homebrew#8133.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2011-11-02 18:02:27 -05:00

24 lines
596 B
Ruby

require 'formula'
class Mmv < Formula
url "http://mirrors.kernel.org/debian/pool/main/m/mmv/mmv_1.01b.orig.tar.gz"
mirror 'http://ftp.us.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.us.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