diff options
| author | Nicholas Sivo | 2013-11-23 16:54:51 -0800 |
|---|---|---|
| committer | Adam Vandenberg | 2013-11-23 17:41:02 -0800 |
| commit | b24db07664b719c59078c3d3a3d1790f712d4a5b (patch) | |
| tree | ba10fd90d0a48c70d56a64b94299a0ca9acdf6f1 /Library/Formula | |
| parent | e2e766740493d7bfc12aebc6390878bc52d132b1 (diff) | |
| download | homebrew-b24db07664b719c59078c3d3a3d1790f712d4a5b.tar.bz2 | |
geoipupdate 2.0.0
The latest version of libgeoip no longer has this functionality. It’s
been broken out into this seperate project.
Closes #24621.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/geoipupdate.rb | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Library/Formula/geoipupdate.rb b/Library/Formula/geoipupdate.rb new file mode 100644 index 000000000..9396f6723 --- /dev/null +++ b/Library/Formula/geoipupdate.rb @@ -0,0 +1,25 @@ +require 'formula' + +class Geoipupdate < Formula + homepage 'https://github.com/maxmind/geoipupdate' + url 'https://github.com/maxmind/geoipupdate/releases/download/v2.0.0/geoipupdate-2.0.0.tar.gz' + sha1 'd3c90ad9c9ad5974e8a5a30c504e7827978ddea7' + head 'https://github.com/maxmind/geoipupdate.git' + + option :universal + + def install + ENV.universal_binary if build.universal? + + system "./bootstrap" if build.head? + + system "./configure", "--disable-dependency-tracking", + "--disable-silent-rules", + "--prefix=#{prefix}" + system "make", "install" + end + + test do + system "#{bin}/geoipupdate", "-V" + end +end |
