homebrew-core/Formula/reposurgeon.rb
Daniel Trebbien 04a68712b3 reposurgeon 2.11
Closes Homebrew/homebrew#16718.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2012-12-24 12:58:50 -06:00

18 lines
473 B
Ruby

require 'formula'
class Reposurgeon < Formula
homepage 'http://www.catb.org/esr/reposurgeon/'
url 'http://www.catb.org/~esr/reposurgeon/reposurgeon-2.11.tar.gz'
sha1 '135582528f95794eac84e6392e3300b3e6ee9dd2'
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