mirror of
https://github.com/void-linux/void-packages.git
synced 2025-04-16 06:07:00 +02:00
geoipupdate: update to 7.0.1.
This commit is contained in:
parent
43cbb7fc5f
commit
b4357aca39
1 changed files with 20 additions and 11 deletions
|
@ -1,20 +1,29 @@
|
|||
# Template file for 'geoipupdate'
|
||||
pkgname=geoipupdate
|
||||
version=3.1.1
|
||||
version=7.0.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="--mandir=/usr/share/man --sysconfdir=/etc/geoip"
|
||||
hostmakedepends="automake libtool"
|
||||
makedepends="zlib-devel libcurl-devel"
|
||||
build_style=go
|
||||
go_import_path="github.com/maxmind/geoipupdate/v7"
|
||||
go_package="${go_import_path}/cmd/geoipupdate"
|
||||
go_ldflags="-X main.version=$version -X main.defaultConfigFile=/etc/geoip/GeoIP.conf
|
||||
-X main.defaultDatabaseDirectory=/usr/share/GeoIP"
|
||||
hostmakedepends="perl pandoc"
|
||||
short_desc="GeoIP update client code"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="GPL-2.0-or-later"
|
||||
license="Apache-2.0 OR MIT"
|
||||
homepage="https://github.com/maxmind/geoipupdate"
|
||||
changelog="https://raw.githubusercontent.com/maxmind/geoipupdate/master/ChangeLog.md"
|
||||
distfiles="https://github.com/maxmind/geoipupdate/releases/download/v${version}/geoipupdate-${version}.tar.gz"
|
||||
checksum=3de22e3fe3282024288a00807bbea9a1ffa2d1e8fe9c611f4b14a5b4d8ebe08a
|
||||
changelog="https://github.com/maxmind/geoipupdate/raw/main/CHANGELOG.md"
|
||||
distfiles="https://github.com/maxmind/geoipupdate/archive/refs/tags/v${version}.tar.gz"
|
||||
checksum=59c80ab737f128fc05e4ecdec4d84652182851dc8c8bea892022e3fc12db9101
|
||||
conf_files="/etc/geoip/GeoIP.conf"
|
||||
|
||||
pre_configure() {
|
||||
autoreconf -fi
|
||||
post_build() {
|
||||
make data CONFFILE=/etc/geoip/GeoIP.conf DATADIR=/usr/share/GeoIP VERSION="$version"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vinstall build/GeoIP.conf 644 /etc/geoip
|
||||
vman build/geoipupdate.1
|
||||
vman build/GeoIP.conf.5
|
||||
vlicense LICENSE-MIT
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue