a9653b8818
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
17 lines
457 B
Ruby
17 lines
457 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
|