diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /opt/geoip/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'opt/geoip/MAKEPKG')
| -rw-r--r-- | opt/geoip/MAKEPKG | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/opt/geoip/MAKEPKG b/opt/geoip/MAKEPKG new file mode 100644 index 0000000..924fc18 --- /dev/null +++ b/opt/geoip/MAKEPKG @@ -0,0 +1,37 @@ +#!/bin/mkpkg +# description: Non-DNS IP-to-country resolver C library and utilities +# url: https://github.com/maxmind/geoip-api-c + +name=geoip +version=1.6.12 +release=1 +makedeps=(libtool autoconf automake) +source=(https://github.com/maxmind/geoip-api-c/releases/download/v$version/GeoIP-$version.tar.gz + geoip_update.sh) + +sha256sums=( + "1dfb748003c5e4b7fd56ba8c4cd786633d5d6f409547584f6910398389636f80" + "a814a6fc80144bb3850a02949e7e7311dd7d59d30b8da22f289d86b0ac4f18d6" +) + +build() { + cd $SRC/GeoIP-$version + + ./configure \ + --prefix=/usr \ + --mandir=/usr/share/man \ + --sysconfdir=/etc + + make + make DESTDIR=$PKG install + + install -d $PKG/usr/share/GeoIP + install -m 755 $SRC/geoip_update.sh $PKG/usr/bin/geoip_update +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +#vim: filetype=sh |
