homebrew-core/Formula/geoip.rb

18 lines
452 B
Ruby
Raw Normal View History

require 'formula'
2011-03-10 05:11:03 +00:00
class Geoip < Formula
2011-06-05 20:15:16 +00:00
url 'http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.7.tar.gz'
homepage 'http://www.maxmind.com/app/c'
2011-06-05 20:15:16 +00:00
md5 'a802175d5b7e2b57b540a7dd308d9205'
def options
[["--universal", "Build a universal binary."]]
end
def install
2011-04-21 16:42:27 +00:00
ENV.universal_binary if ARGV.build_universal?
system "./configure", "--prefix=#{prefix}", "--disable-dependency-tracking"
system "make install"
end
end