From cc022648ece4c7d6cbaa42ed8abc9c569a91d2fa Mon Sep 17 00:00:00 2001 From: Sven Axelsson Date: Tue, 16 Aug 2011 11:43:20 +0200 Subject: asciidoc: add --HEAD Signed-off-by: Adam Vandenberg --- Library/Formula/asciidoc.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Library') 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 -- cgit v1.2.3