f302908d0c
More details: http://freecode.com/projects/reposurgeon/releases/362595 Closes Homebrew/homebrew#28028. Signed-off-by: Jack Nagel <jacknagel@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.8.tar.gz'
|
|
sha256 '1e815613a9e87dde97245312885d347cd3f65ba064710bafaa05607c005e50b2'
|
|
|
|
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
|