homebrew-core/Formula/reposurgeon.rb
Brad Ackerman bb799a78a1 reposurgeon 2.21
Closes Homebrew/homebrew#18006.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2013-02-22 13:13:07 -08: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.21.tar.gz'
sha1 'c149c892141ce48bd6cd75f2ae25575230a96313'
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