3fb15cb5d9
More details: http://freecode.com/projects/reposurgeon/releases/362962 Closes Homebrew/homebrew#28427. Signed-off-by: Brett Koonce <koonce@gmail.com>
18 lines
498 B
Ruby
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.9.tar.gz'
|
|
sha256 'b1bd242e9db9ac8c34b2569694bbc9dca83d526f7509b1751106dbeef074abd8'
|
|
|
|
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
|