geoip: update to 1.6.10.
This commit is contained in:
parent
1adb3d562c
commit
89c2a946e2
|
@ -1,19 +1,18 @@
|
|||
# Template file for 'geoip'
|
||||
pkgname=geoip
|
||||
version=1.4.8
|
||||
revision=3
|
||||
version=1.6.10
|
||||
revision=1
|
||||
wrksrc="GeoIP-${version}"
|
||||
build_style=gnu-configure
|
||||
configure_args="--mandir=/usr/share/man --sysconfdir=/etc/geoip"
|
||||
hostmakedepends="automake libtool"
|
||||
makedepends="zlib-devel"
|
||||
conf_files="/etc/geoip/GeoIP.conf"
|
||||
short_desc="Non-DNS IP-to-country resolver C library and utilities"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
homepage="http://www.maxmind.com/app/c"
|
||||
license="GPL-2"
|
||||
distfiles="http://geolite.maxmind.com/download/${pkgname}/api/c/GeoIP-${version}.tar.gz"
|
||||
checksum=cf0f6b2bac1153e34d6ef55ee3851479b347d2b5c191fda8ff6a51fab5291ff4
|
||||
distfiles="https://github.com/maxmind/geoip-api-c/releases/download/v$version/GeoIP-$version.tar.gz"
|
||||
checksum=cb44e0d0dbc45efe2e399e695864e58237ce00026fba8a74b31d85888c89c67a
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
|
@ -21,9 +20,9 @@ pre_configure() {
|
|||
|
||||
libgeoip_package() {
|
||||
short_desc+=" - Runtime library"
|
||||
depends="geoip-data"
|
||||
pkg_install() {
|
||||
vmove "usr/lib/*.so.*"
|
||||
vmove usr/share/GeoIP
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -31,8 +30,8 @@ geoip-devel_package() {
|
|||
short_desc+=" - development files"
|
||||
depends="zlib-devel libgeoip>=${version}_${revision}"
|
||||
pkg_install() {
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
vmove usr/include
|
||||
vmove "usr/lib/*.a"
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue