wok-next view geoip/receipt @ rev 20904

libgdata: update bdeps
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 30 23:44:42 2018 +0300 (2018-07-30)
parents 757d032c55c7
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="geoip"
4 VERSION="1.4.8"
5 CATEGORY="network"
6 SHORT_DESC="Non-DNS IP-to-country resolver C library & utils"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.maxmind.com/app/c"
11 TARBALL="GeoIP-$VERSION.tar.gz"
12 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
14 BUILD_DEPENDS="zlib-dev automake autoconf libtool"
15 SPLIT="geoip-dev"
17 compile_rules() {
18 autoreconf -i
19 ./configure \
20 --sysconfdir=/etc/geoip \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 geoip)
30 copy @std
31 DEPENDS="zlib"
32 ;;
33 *-dev)
34 copy @dev
35 ;;
36 esac
37 }