blob: 1b580bd5aa0f2a24683cc5ed3749b2bcb7279ae5 (
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
|
#!/bin/sh
NAME="geoip"
DESC="Lookup countries by IP addresses"
MAKEDEPS="zlib"
PKG_VER=1.6.12
SOURCE="https://github.com/maxmind/geoip-api-c/releases/download/v$PKG_VER/GeoIP-$PKG_VER.tar.gz"
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc/geoip \
--mandir=/usr/share/man \
--infodir=/usr/share/info
make
}
package() {
make DESTDIR="$PKG_DEST" install
mkdir -p "$PKG_DEST"/usr/share/GeoIP
}
check() {
make check
}
|