GeoIP formula
GeoIP is a C library that enables the user to find geographical and network information of an IP address.master
parent
603b7d3119
commit
bd33ce469a
|
@ -0,0 +1,14 @@
|
|||
require 'brewkit'
|
||||
|
||||
# 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
|
Loading…
Reference in New Issue