aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorSven Axelsson2011-08-16 11:43:20 +0200
committerAdam Vandenberg2011-08-18 15:42:06 -0700
commitcc022648ece4c7d6cbaa42ed8abc9c569a91d2fa (patch)
tree351d33002f5aeaa2cf6bdef7bd82f105114b0fe9 /Library
parentf993ddc5cdd5eaa1c9e490590bed6ff021b898a9 (diff)
downloadhomebrew-cc022648ece4c7d6cbaa42ed8abc9c569a91d2fa.tar.bz2
asciidoc: add --HEAD
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/asciidoc.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/Library/Formula/asciidoc.rb b/Library/Formula/asciidoc.rb
index a9b8ed37d..45aaf6ee5 100644
--- a/Library/Formula/asciidoc.rb
+++ b/Library/Formula/asciidoc.rb
@@ -3,9 +3,14 @@ require 'formula'
class Asciidoc < Formula
url 'http://downloads.sourceforge.net/project/asciidoc/asciidoc/8.6.5/asciidoc-8.6.5.tar.gz'
md5 '9247724283501ec1cfb27d5eae9e5eaf'
+ head 'https://code.google.com/p/asciidoc/', :using => :hg
homepage 'http://www.methods.co.nz/asciidoc'
def install
+ if ARGV.build_head? and not File.exists? "./configure"
+ ohai "Creating configure file"
+ system "autoconf"
+ end
system "./configure", "--disable-debug", "--prefix=#{prefix}"
system "make install"
end