diff options
| author | Tobias Stehle | 2014-02-19 09:18:03 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-02-19 11:23:16 +0000 |
| commit | 724eaa35c90ce29cffcbbc3f5fe554c05d217b51 (patch) | |
| tree | b9aae33d5d358416ac36dc1fc13d1c08f1ff1050 /Library/Formula | |
| parent | 790ab2c3bbfd30572d9c4ed8989cf30de25af4cf (diff) | |
| download | homebrew-724eaa35c90ce29cffcbbc3f5fe554c05d217b51.tar.bz2 | |
ncdc 1.19
* Added geoip option
* gnutls dependency with-p11-kit option
Closes #26728.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/ncdc.rb | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/Library/Formula/ncdc.rb b/Library/Formula/ncdc.rb index bc70f22a4..a7b959fb7 100644 --- a/Library/Formula/ncdc.rb +++ b/Library/Formula/ncdc.rb @@ -2,16 +2,25 @@ require 'formula' class Ncdc < Formula homepage 'http://dev.yorhel.nl/ncdc' - url 'http://dev.yorhel.nl/download/ncdc-1.18.1.tar.gz' - sha1 '184dce59b5b51563f869a43d81971a1537cdc438' + url 'http://dev.yorhel.nl/download/ncdc-1.19.tar.gz' + sha1 '7f478b7daf09202586b40899cc6beabeb0d23178' + + option 'with-geoip', "Build with geoip support" depends_on 'glib' depends_on 'sqlite' - depends_on 'gnutls' + depends_on 'gnutls' => 'with-p11-kit' depends_on 'pkg-config' => :build + depends_on 'geoip' => :optional def install - system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" + args = [ + "--disable-dependency-tracking", + "--prefix=#{prefix}", + ] + args << '--with-geoip' if build.with? 'geoip' + + system "./configure", *args system "make install" end |
