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