1 # Contributor: Your Name <youremail@domain.com>
3 pkgname=apache-mod_geoip2
6 pkgdesc="geoip interface module for apache."
8 url="http://www.maxmind.com/app/mod_geoip"
10 depends=('apache' 'geoip')
11 makedepends=('apache' 'geoip')
12 source=("http://geolite.maxmind.com/download/geoip/api/mod_geoip2/mod_geoip2_$pkgver.tar.gz")
13 md5sums=('5d35c9a9cbf47c2cb636bed26cd5fa19')
16 cd $srcdir/mod_geoip2_$pkgver
17 apxs -lGeoIP -L/usr/lib -I/usr/include -c mod_geoip.c || return 1
21 cd $srcdir/mod_geoip2_$pkgver
22 install -Dm0755 .libs/mod_geoip.so $pkgdir/usr/lib/httpd/modules/mod_geoip.so || return 1
25 # vim:set ts=2 sw=2 et: