homebrew-core/Formula/mmv.rb
Adam Vandenberg 13201b7318 Update formula to use Debian version style
* Debian downloads have ".orig" in the tarball name. Now that
  Pathname supports this style, remove explicit versions from some brews.
2010-07-06 13:17:59 -07:00

23 lines
533 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|
FileUtils.ln bin+'mmv', bin+mxx
FileUtils.ln man1+'mmv.1', man1+"#{mxx}.1"
end
end
end