diff options
| author | Michael Stephens | 2009-10-02 22:09:26 -0400 |
|---|---|---|
| committer | Max Howell | 2009-10-03 13:25:23 +0100 |
| commit | e7ef3c6ad8a362ef6305965b44bb06931b0f6788 (patch) | |
| tree | f886bb93c80dd2c75e653641d447e9ce5689174f /Library/Formula | |
| parent | 1d1f2828ec4e95d69e12a0f9ffd1f17d642f9137 (diff) | |
| download | homebrew-e7ef3c6ad8a362ef6305965b44bb06931b0f6788.tar.bz2 | |
GeoIP formula
GeoIP is a C library that enables the user to find geographical and
network information of an IP address.
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/geoip.rb | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Library/Formula/geoip.rb b/Library/Formula/geoip.rb new file mode 100644 index 000000000..41d1e9e5d --- /dev/null +++ b/Library/Formula/geoip.rb @@ -0,0 +1,14 @@ +require 'brewkit' + +# TODO common aliases libgeoip + +class Geoip <Formula + url 'http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.6.tar.gz' + homepage 'http://www.maxmind.com/app/c' + md5 'cb14b1beeb40631a12676b11ca0c309a' + + def install + system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking" + system "make install" + end +end |
