homebrew-core/Formula/mmv.rb

26 lines
707 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Mmv < Formula
2013-01-29 04:42:42 +00:00
homepage 'http://packages.debian.org/unstable/utils/mmv'
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'
sha1 '538a26b1d7e8b9bc286843e6aa2d8d959d8914bb'
2014-03-14 15:03:25 +00:00
patch do
url "http://ftp.us.debian.org/debian/pool/main/m/mmv/mmv_1.01b-15.diff.gz"
sha1 "101f42c641472c7fc1f2c2f7ef391c032cdbe3c0"
end
def install
2014-03-14 16:09:36 +00:00
system "make", "CC=#{ENV.cc}", "LDFLAGS="
bin.install 'mmv'
man1.install 'mmv.1'
%w[mcp mad mln].each do |mxx|
2014-03-25 18:02:44 +00:00
bin.install_symlink "mmv" => mxx
man1.install_symlink "mmv.1" => "#{mxx}.1"
end
end
end