aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorNicholas Sivo2013-11-24 18:04:53 -0800
committerMike McQuaid2013-11-28 10:13:33 +0000
commita4ccbe284a34a3dc335931d438574a79ae8697a0 (patch)
tree2d00b5aede94f21d15072b2d6a25fd02f3502b19 /Library/Formula
parentc07c02a76869fbfb19e8946e9126d43f4a7f7cf9 (diff)
downloadhomebrew-a4ccbe284a34a3dc335931d438574a79ae8697a0.tar.bz2
libmaxminddb: add deps, geoipupdate option.
Most users will want the database auto-update tool, which until recently came bundled with geoip, the old format library. Closes #24637. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/libmaxminddb.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Formula/libmaxminddb.rb b/Library/Formula/libmaxminddb.rb
index 119f6d68f..155cfce82 100644
--- a/Library/Formula/libmaxminddb.rb
+++ b/Library/Formula/libmaxminddb.rb
@@ -6,6 +6,13 @@ class Libmaxminddb < Formula
sha1 'db7618a97c222cab0a0ba2fb8439abcd1465f10c'
head 'https://github.com/maxmind/libmaxminddb.git'
+ if build.head?
+ depends_on 'autoconf' => :build
+ depends_on 'automake' => :build
+ depends_on 'libtool' => :build
+ end
+ depends_on 'geoipupdate' => :optional
+
option :universal
def install