aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/reposurgeon.rb14
1 files changed, 10 insertions, 4 deletions
diff --git a/Library/Formula/reposurgeon.rb b/Library/Formula/reposurgeon.rb
index 8a7086ce7..5d9c1d219 100644
--- a/Library/Formula/reposurgeon.rb
+++ b/Library/Formula/reposurgeon.rb
@@ -1,12 +1,18 @@
require 'formula'
class Reposurgeon < Formula
- url 'http://www.catb.org/esr/reposurgeon/reposurgeon-1.9.tar.gz'
homepage 'http://www.catb.org/esr/reposurgeon/'
- sha1 'd0a5b297e7968efdb721970ca72f3ac2f682ad5d'
+ url 'http://www.catb.org/~esr/reposurgeon/reposurgeon-2.11.tar.gz'
+ sha1 '135582528f95794eac84e6392e3300b3e6ee9dd2'
+
+ depends_on 'asciidoc'
+ depends_on 'xmlto'
def install
- bin.install "reposurgeon"
- man1.install "reposurgeon.1"
+ 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