wok annotate geoip/receipt @ rev 22891
updated gtest (1.7.0 -> 1.10.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Feb 23 08:12:43 2020 +0100 (2020-02-23) |
parents | dc0ce6d01be6 |
children | af8d823a3077 |
rev | line source |
---|---|
slaxemulator@7300 | 1 # SliTaz package receipt. |
slaxemulator@7300 | 2 |
slaxemulator@7300 | 3 PACKAGE="geoip" |
slaxemulator@11163 | 4 VERSION="1.4.8" |
slaxemulator@7300 | 5 CATEGORY="network" |
slaxemulator@7300 | 6 SHORT_DESC="Non-DNS IP-to-country resolver C library & utils." |
slaxemulator@7300 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15589 | 8 LICENSE="LGPL2.1" |
slaxemulator@7300 | 9 SOURCE="GeoIP" |
slaxemulator@7300 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
slaxemulator@7300 | 11 WEB_SITE="http://www.maxmind.com/app/c" |
slaxemulator@7300 | 12 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL" |
slaxemulator@7300 | 13 |
slaxemulator@11163 | 14 DEPENDS="zlib" |
pascal@15617 | 15 BUILD_DEPENDS="zlib-dev automake autoconf libtool" |
slaxemulator@11163 | 16 |
slaxemulator@7300 | 17 # Rules to configure and make the package. |
slaxemulator@7300 | 18 compile_rules() |
slaxemulator@7300 | 19 { |
slaxemulator@11163 | 20 autoreconf -i |
slaxemulator@7300 | 21 ./configure \ |
slaxemulator@7300 | 22 --prefix=/usr \ |
slaxemulator@7300 | 23 --infodir=/usr/share/info \ |
slaxemulator@7300 | 24 --mandir=/usr/share/man \ |
slaxemulator@7300 | 25 --sysconfdir=/etc/geoip \ |
pascal@17721 | 26 $CONFIGURE_ARGS 2>&1 | \ |
pascal@17721 | 27 sed 's|missing: No such|missing: no such|' |
slaxemulator@11163 | 28 make && make DESTDIR=$DESTDIR install |
slaxemulator@7300 | 29 } |
slaxemulator@7300 | 30 |
slaxemulator@7300 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7300 | 32 genpkg_rules() |
slaxemulator@7300 | 33 { |
slaxemulator@7300 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@11163 | 35 cp -a $install/usr/bin $fs/usr |
slaxemulator@11163 | 36 cp -a $install/etc $fs |
slaxemulator@11163 | 37 cp -a $install/usr/lib/*.so* $fs/usr/lib |
slaxemulator@11163 | 38 cp -a $install/usr/share/GeoIP $fs/usr/share |
slaxemulator@7300 | 39 } |
slaxemulator@7300 | 40 |