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:
parent
4160972777
commit
f84fe8b757
1 changed files with 9 additions and 0 deletions
|
@ -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}",
|
||||
|
|
Loading…
Reference in a new issue