# Template file for 'geoip'
pkgname=geoip
version=1.4.8
distfiles="http://geolite.maxmind.com/download/${pkgname}/api/c/GeoIP-${version}.tar.gz"
build_style=gnu-configure
configure_args="--mandir=/usr/share/man --sysconfdir=/etc/geoip"
makedepends="zlib-devel"
revision=1
short_desc="Non-DNS IP-to-country resolver C library and utilities"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.maxmind.com/app/c"
license="GPL-2"
checksum=cf0f6b2bac1153e34d6ef55ee3851479b347d2b5c191fda8ff6a51fab5291ff4
long_desc="
 GeoIP is the proprietary technology that drives MaxMind's IP geolocation data
 and services. GeoIP provides businesses with a non-invasive way to determine
 geographical and other information about their Internet visitors in
 real-time."

subpackages="lib${pkgname} ${pkgname}-devel"

conf_files="/etc/geoip/GeoIP.conf"

wrksrc="GeoIP-${version}"

