wok-next annotate 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
rev   line source
al@20464 1 # SliTaz package receipt v2.
slaxemulator@7300 2
slaxemulator@7300 3 PACKAGE="geoip"
Hans-G?nter@21674 4 VERSION="1.6.12"
slaxemulator@7300 5 CATEGORY="network"
Hans-G?nter@21674 6 SHORT_DESC="Non-DNS IP-to-country resolver C library and utilities"
Hans-G?nter@21674 7 MAINTAINER="maintainer@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"
Hans-G?nter@21674 12 WGET_URL="https://github.com/maxmind/geoip-api-c/archive/v$VERSION.tar.gz"
slaxemulator@7300 13
Hans-G?nter@21674 14 BUILD_DEPENDS="autoconf automake libtool zlib-dev"
al@21020 15 SPLIT="$PACKAGE-dev"
slaxemulator@11163 16
Hans-G?nter@21674 17 compile_rules()
Hans-G?nter@21674 18 {
Hans-G?nter@21674 19 autoreconf -i &&
Hans-G?nter@21674 20 ./configure \
Hans-G?nter@21674 21 --sysconfdir=/etc/geoip \
al@20534 22 $CONFIGURE_ARGS &&
al@20570 23 fix libtool &&
al@20534 24 make &&
al@21020 25 make DESTDIR=$install install
slaxemulator@7300 26 }
slaxemulator@7300 27
Hans-G?nter@21674 28 genpkg_rules()
Hans-G?nter@21674 29 {
al@20464 30 case $PACKAGE in
al@20464 31 geoip)
al@20534 32 copy @std
al@20464 33 DEPENDS="zlib"
al@20464 34 ;;
al@20464 35 *-dev)
al@20534 36 copy @dev
al@20464 37 ;;
al@20464 38 esac
slaxemulator@7300 39 }