homebrew-core/Formula/reposurgeon.rb
Matthew L Daniel c1f4445f54 Reposurgeon 3.7
More details at http://freecode.com/projects/reposurgeon/releases/362278

Closes Homebrew/homebrew#27618.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-16 22:32:46 -07:00

18 lines
498 B
Ruby

require 'formula'
class Reposurgeon < Formula
homepage 'http://www.catb.org/esr/reposurgeon/'
url 'http://www.catb.org/~esr/reposurgeon/reposurgeon-3.7.tar.gz'
sha256 '41730252d74ea0b7beb3171b55a449037d46d4a405ad52cd88c2c7577fe67026'
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