GeoIP formula

GeoIP is a C library that enables the user to find geographical and
network information of an IP address.
master
Michael Stephens 2009-10-02 22:09:26 -04:00 committed by Max Howell
parent 603b7d3119
commit bd33ce469a
1 changed files with 14 additions and 0 deletions

14
Formula/geoip.rb Normal file
View File

@ -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