aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorVikrant Varma2015-04-10 14:09:46 +0530
committerJack Nagel2015-04-17 14:32:22 -0400
commit5662d4abb7c18458193f011defaf287e4fa24974 (patch)
tree0b7917b557a852a61c2087cfb7f633bba069c42d /Library/Formula
parent35428557665a04d7319c44c4bcf996777048e548 (diff)
downloadhomebrew-5662d4abb7c18458193f011defaf287e4fa24974.tar.bz2
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 <jacknagel@gmail.com>
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}",