homebrew-core/Formula/geoip.rb
2011-03-12 11:55:09 -08:00

17 lines
458 B
Ruby

require 'formula'
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 options
[["--universal", "Build a universal binary."]]
end
def install
ENV.universal_binary if ARGV.include? "--universal"
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end