homebrew-core/Formula/geoip.rb
Max Howell 61b2307139 s/require 'brewkit'/require 'formula'/g
brewkit.rb changes ENV destructively, so lets not do that everytime a formula
is required. Now it's possible for other tools to require a formula
description without worrying about side-effects.
2009-10-15 16:48:03 +01:00

14 lines
361 B
Ruby

require 'formula'
# 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