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>
This commit is contained in:
Vikrant Varma 2015-04-10 14:09:46 +05:30 committed by Jack Nagel
parent 4160972777
commit f84fe8b757

View file

@ -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}",