homebrew-core/Formula/geoip.rb
Michael Stephens bd33ce469a GeoIP formula
GeoIP is a C library that enables the user to find geographical and
network information of an IP address.
2009-10-03 13:25:23 +01:00

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