blob: 924fc1889365c44fb85b8ae870e1e6133b53a430 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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
|