aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/ncdc.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/Library/Formula/ncdc.rb b/Library/Formula/ncdc.rb
index 845e93791..66cdd12cd 100644
--- a/Library/Formula/ncdc.rb
+++ b/Library/Formula/ncdc.rb
@@ -14,7 +14,16 @@ class Ncdc < Formula
depends_on 'pkg-config' => :build
depends_on 'geoip' => :optional
+ head do
+ url "git://g.blicky.net/ncdc.git"
+
+ depends_on "autoconf" => :build
+ depends_on "automake" => :build
+ end
+
def install
+ system "autoreconf", "-ivf" if build.head?
+
args = [
"--disable-dependency-tracking",
"--prefix=#{prefix}",