aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorBrett Koonce2014-10-31 17:00:52 -0700
committerBrett Koonce2014-11-01 20:53:46 -0700
commit246a77345b9e0208310a314da3a083e2acfa591d (patch)
treee475b1ce7fe08bd42a4b4578d334c8ea473a5db4 /Library/Formula
parentd29281c343fd2755ad778a65e394fdbee5eb8309 (diff)
downloadhomebrew-246a77345b9e0208310a314da3a083e2acfa591d.tar.bz2
geoip 1.6.3
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/geoip.rb29
1 files changed, 2 insertions, 27 deletions
diff --git a/Library/Formula/geoip.rb b/Library/Formula/geoip.rb
index d1d28aded..6c8a41332 100644
--- a/Library/Formula/geoip.rb
+++ b/Library/Formula/geoip.rb
@@ -4,12 +4,8 @@ class Geoip < Formula
homepage "https://github.com/maxmind/geoip-api-c"
stable do
- url "https://github.com/maxmind/geoip-api-c/archive/v1.6.2.tar.gz"
- sha1 "aa9a91b61667b605f62964c613e15400cbca2cae"
-
- # Download test data so `make check` works. Fixed in HEAD.
- # See https://github.com/maxmind/geoip-api-c/commit/722707cc3a0adc06aec3e98bc36e7262f67ec0da
- patch :DATA
+ url "https://github.com/maxmind/geoip-api-c/archive/v1.6.3.tar.gz"
+ sha1 "7561dcb5ba928a3f190426709063829093283c32"
end
head "https://github.com/maxmind/geoip-api-c.git"
@@ -67,24 +63,3 @@ class Geoip < Formula
system "#{bin}/geoiplookup", "-f", "GeoIP.dat", "8.8.8.8"
end
end
-
-__END__
-diff --git a/bootstrap b/bootstrap
-index 30fc0f9..f20f095 100755
---- a/bootstrap
-+++ b/bootstrap
-@@ -1,5 +1,14 @@
- #!/bin/sh
-
-+# dl the dat file if needed
-+DIR="$( cd "$( dirname "$0" )" && pwd )"
-+
-+# download geolite database for the tests
-+mkdir -p $DIR/data
-+if [ ! -f $DIR/data/GeoIP.dat ]; then
-+ curl http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz | gzip -d > $DIR/data/GeoIP.dat
-+fi
-+
- # make sure to use the installed libtool
- rm -f ltmain.sh
- autoreconf -fiv