wok-next view geoip/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents a5d7827e08cf
children f63fef0920b6
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="devel@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="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
14 BUILD_DEPENDS="zlib-dev automake autoconf libtool"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 autoreconf -i
19 ./configure \
20 --sysconfdir=/etc/geoip \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make DESTDIR=$install 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 }