wok annotate geoip/receipt @ rev 11068

Up: bird to 1.3.4.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 01:00:52 2011 +0000 (2011-10-17)
parents
children 3bc99b51b9cf
rev   line source
slaxemulator@7300 1 # SliTaz package receipt.
slaxemulator@7300 2
slaxemulator@7300 3 PACKAGE="geoip"
slaxemulator@7300 4 VERSION="1.4.6"
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"
slaxemulator@7300 8 DEPENDS="zlib"
slaxemulator@7300 9 BUILD_DEPENDS="zlib-dev"
slaxemulator@7300 10 SOURCE="GeoIP"
slaxemulator@7300 11 TARBALL="$SOURCE-$VERSION.tar.gz"
slaxemulator@7300 12 WEB_SITE="http://www.maxmind.com/app/c"
slaxemulator@7300 13 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
slaxemulator@7300 14
slaxemulator@7300 15 # Rules to configure and make the package.
slaxemulator@7300 16 compile_rules()
slaxemulator@7300 17 {
slaxemulator@7300 18 cd $src
slaxemulator@7300 19 ./configure \
slaxemulator@7300 20 --prefix=/usr \
slaxemulator@7300 21 --infodir=/usr/share/info \
slaxemulator@7300 22 --mandir=/usr/share/man \
slaxemulator@7300 23 --sysconfdir=/etc/geoip \
slaxemulator@7300 24 $CONFIGURE_ARGS &&
slaxemulator@7300 25 make && make DESTDIR=$PWD/_pkg install
slaxemulator@7300 26 }
slaxemulator@7300 27
slaxemulator@7300 28 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7300 29 genpkg_rules()
slaxemulator@7300 30 {
slaxemulator@7300 31 mkdir -p $fs/usr/lib $fs/usr/share
slaxemulator@7300 32 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7300 33 cp -a $_pkg/etc $fs
slaxemulator@7300 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
slaxemulator@7300 35 cp -a $_pkg/usr/share/GeoIP $fs/usr/share
slaxemulator@7300 36 }
slaxemulator@7300 37