homebrew-core/Formula/reposurgeon.rb
Ian Lancaster 0b8eea8701 reposurgeon 2.37
Closes Homebrew/homebrew#19702.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2013-05-09 16:48:46 -05:00

18 lines
499 B
Ruby

require 'formula'
class Reposurgeon < Formula
homepage 'http://www.catb.org/esr/reposurgeon/'
url 'http://www.catb.org/~esr/reposurgeon/reposurgeon-2.37.tar.gz'
sha256 '615394319ae16c842cab77b4f1562a53f0fc666ce401a34acb949402424be376'
depends_on 'asciidoc'
depends_on 'xmlto'
def install
ENV['XML_CATALOG_FILES'] = "#{etc}/xml/catalog"
system "make"
tools = %w{reposurgeon repopuller repodiffer}
bin.install tools
man1.install tools.map { |m| "#{m}.1" }
end
end