wok-next annotate geoip/receipt @ rev 21126

Hide more packages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Jan 18 02:36:44 2019 +0200 (2019-01-18)
parents a5d7827e08cf
children f63fef0920b6
rev   line source
al@20464 1 # SliTaz package receipt v2.
slaxemulator@7300 2
slaxemulator@7300 3 PACKAGE="geoip"
slaxemulator@11163 4 VERSION="1.4.8"
slaxemulator@7300 5 CATEGORY="network"
al@20464 6 SHORT_DESC="Non-DNS IP-to-country resolver C library & utils"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15589 8 LICENSE="LGPL2.1"
al@21020 9 WEB_SITE="https://dev.maxmind.com/geoip/legacy/downloadable/"
al@20464 10
al@20464 11 TARBALL="GeoIP-$VERSION.tar.gz"
slaxemulator@7300 12 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
slaxemulator@7300 13
pascal@15617 14 BUILD_DEPENDS="zlib-dev automake autoconf libtool"
al@21020 15 SPLIT="$PACKAGE-dev"
slaxemulator@11163 16
al@20464 17 compile_rules() {
slaxemulator@11163 18 autoreconf -i
slaxemulator@7300 19 ./configure \
slaxemulator@7300 20 --sysconfdir=/etc/geoip \
al@20534 21 $CONFIGURE_ARGS &&
al@20570 22 fix libtool &&
al@20534 23 make &&
al@21020 24 make DESTDIR=$install install
slaxemulator@7300 25 }
slaxemulator@7300 26
al@20464 27 genpkg_rules() {
al@20464 28 case $PACKAGE in
al@20464 29 geoip)
al@20534 30 copy @std
al@20464 31 DEPENDS="zlib"
al@20464 32 ;;
al@20464 33 *-dev)
al@20534 34 copy @dev
al@20464 35 ;;
al@20464 36 esac
slaxemulator@7300 37 }