homebrew-core/Formula/reposurgeon.rb
Matthew L Daniel 5122394e3b reposurgeon 3.6
http://freecode.com/projects/reposurgeon#release_361692

Closes Homebrew/homebrew#26854.

Signed-off-by: Brett Koonce <koonce@gmail.com>
2014-02-19 22:21:44 -06: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.6.tar.gz'
sha256 'c07354319813095f5db6c416fd491eb8efd4d7c67db7161c88fd2c3afe0d5386'
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