#Maintainer: Dimitris Tzemos #Mandatory pkgname=GeoIP pkgver=1.4.6 pkgrel=1dj source=(http://www.maxmind.com/download/geoip/api/c/$pkgname-$pkgver.tar.gz) #Optional docs=("readme" "install" "copying" "changelog" "authors" "todo") url=http://www.maxmind.com/geoip options=('noautodotnew') dotnew=('etc/GeoIP.conf') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "GeoIP (GeoIP API and database)" "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." "To name a few applications, GeoIP can be used for delivering" "customized content, targeted ads and web log statistics" "" "Homepage: http://www.maxmind.com/download/geoip/api/c/" ) build() { cd $startdir/src/$pkgname-$pkgver || return 1 ./configure --prefix=/usr --libdir=/usr/lib${LIBDIRSUFFIX} --localstatedir=/var --sysconfdir=/etc \ --disable-static \ --mandir=/usr/man \ --program-prefix= \ --program-suffix= \ --build=$arch-slackware-linux make || return 1 make install DESTDIR=$startdir/pkg || return 1 }