bd33ce469a
GeoIP is a C library that enables the user to find geographical and network information of an IP address.
14 lines
361 B
Ruby
14 lines
361 B
Ruby
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
|