mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
23 lines
660 B
Bash
23 lines
660 B
Bash
# Maintainer: Dan McGee <dan@archlinux.org>
|
|
# Contributor: Manolis Tzanidakis <manolis@archlinux.org>
|
|
|
|
pkgname=geoip
|
|
pkgver=1.4.6
|
|
pkgrel=1
|
|
pkgdesc="Non-DNS IP-to-country resolver C library & utils"
|
|
arch=('arm')
|
|
license=('GPL')
|
|
url="http://www.maxmind.com/app/c"
|
|
depends=('zlib')
|
|
backup=(etc/geoip/GeoIP.conf)
|
|
options=('!libtool')
|
|
source=(http://www.maxmind.com/download/geoip/api/c/GeoIP-${pkgver}.tar.gz)
|
|
md5sums=('cb14b1beeb40631a12676b11ca0c309a')
|
|
|
|
build() {
|
|
cd ${startdir}/src/GeoIP-${pkgver}
|
|
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc/geoip
|
|
make || return 1
|
|
make check || return 1
|
|
make DESTDIR=${startdir}/pkg install
|
|
}
|