wok-next view geoip/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="geoip"
4 VERSION="1.6.12"
5 CATEGORY="network"
6 SHORT_DESC="Non-DNS IP-to-country resolver C library and utilities"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://dev.maxmind.com/geoip/legacy/downloadable/"
11 TARBALL="GeoIP-$VERSION.tar.gz"
12 WGET_URL="https://github.com/maxmind/geoip-api-c/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="autoconf automake libtool zlib-dev"
15 SPLIT="$PACKAGE-dev"
17 compile_rules()
18 {
19 autoreconf -i &&
20 ./configure \
21 --sysconfdir=/etc/geoip \
22 $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make DESTDIR=$install install
26 }
28 genpkg_rules()
29 {
30 case $PACKAGE in
31 geoip)
32 copy @std
33 DEPENDS="zlib"
34 ;;
35 *-dev)
36 copy @dev
37 ;;
38 esac
39 }