9dee0a8ac3
More details: http://freecode.com/projects/reposurgeon/releases/363137 Closes Homebrew/homebrew#28551. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
18 lines
499 B
Ruby
18 lines
499 B
Ruby
require 'formula'
|
|
|
|
class Reposurgeon < Formula
|
|
homepage 'http://www.catb.org/esr/reposurgeon/'
|
|
url 'http://www.catb.org/~esr/reposurgeon/reposurgeon-3.10.tar.gz'
|
|
sha256 'cfb78271b31ab50a73775a4a1b211dc8b48af76ac092676a226c9e61f4a1fb44'
|
|
|
|
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
|