2009-10-15 08:07:12 +00:00
|
|
|
require 'formula'
|
2009-10-03 02:09:26 +00:00
|
|
|
|
|
|
|
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'
|
2009-12-02 09:45:15 +00:00
|
|
|
aka 'libgeoip'
|
2009-10-03 02:09:26 +00:00
|
|
|
|
|
|
|
def install
|
|
|
|
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
|
|
|
|
system "make install"
|
|
|
|
end
|
|
|
|
end
|