From f84fe8b757ea8e0c550e92c1e95766745b355153 Mon Sep 17 00:00:00 2001 From: Vikrant Varma Date: Fri, 10 Apr 2015 14:09:46 +0530 Subject: [PATCH] ncdc: add HEAD - Create a 'head' block that points to the ncdc git repo - Add dependencies for building from git repo: autconf, automake Signed-off-by: Jack Nagel --- Formula/ncdc.rb | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Formula/ncdc.rb b/Formula/ncdc.rb index 845e937912..66cdd12cd9 100644 --- a/Formula/ncdc.rb +++ b/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}",