wok-current rev 11163

Up: geoip to 1.4.8.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed Nov 02 06:56:11 2011 +0000 (2011-11-02)
parents 32fc82463121
children e2b1ff2ea7cf
files geoip-dev/receipt geoip/receipt
line diff
     1.1 --- a/geoip-dev/receipt	Wed Nov 02 06:54:24 2011 +0000
     1.2 +++ b/geoip-dev/receipt	Wed Nov 02 06:56:11 2011 +0000
     1.3 @@ -1,20 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="geoip-dev"
     1.7 -VERSION="1.4.6"
     1.8 +VERSION="1.4.8"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="devel files for geoip."
    1.11  MAINTAINER="slaxemulator@gmail.com"
    1.12  DEPENDS="geoip"
    1.13  WEB_SITE="http://www.maxmind.com/app/c"
    1.14 -SOURCE="GeoIP"
    1.15  WANTED="geoip"
    1.16  
    1.17  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.18  genpkg_rules()
    1.19  {
    1.20  	mkdir -p $fs/usr/lib
    1.21 -	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.22 -	cp -a $_pkg/usr/include $fs/usr
    1.23 +	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.24 +	cp -a $install/usr/include $fs/usr
    1.25  }
    1.26  
     2.1 --- a/geoip/receipt	Wed Nov 02 06:54:24 2011 +0000
     2.2 +++ b/geoip/receipt	Wed Nov 02 06:56:11 2011 +0000
     2.3 @@ -1,37 +1,39 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="geoip"
     2.7 -VERSION="1.4.6"
     2.8 +VERSION="1.4.8"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Non-DNS IP-to-country resolver C library & utils."
    2.11  MAINTAINER="slaxemulator@gmail.com"
    2.12 -DEPENDS="zlib"
    2.13 -BUILD_DEPENDS="zlib-dev"
    2.14  SOURCE="GeoIP"
    2.15  TARBALL="$SOURCE-$VERSION.tar.gz"
    2.16  WEB_SITE="http://www.maxmind.com/app/c"
    2.17  WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL"
    2.18  
    2.19 +DEPENDS="zlib"
    2.20 +BUILD_DEPENDS="zlib-dev"
    2.21 +
    2.22  # Rules to configure and make the package.
    2.23  compile_rules()
    2.24  {
    2.25  	cd $src
    2.26 +	autoreconf -i
    2.27  	./configure \
    2.28  		--prefix=/usr \
    2.29  		--infodir=/usr/share/info \
    2.30  		--mandir=/usr/share/man \
    2.31  		--sysconfdir=/etc/geoip \
    2.32  		$CONFIGURE_ARGS &&
    2.33 -	make && make DESTDIR=$PWD/_pkg install
    2.34 +	make && make DESTDIR=$DESTDIR install
    2.35  }
    2.36  
    2.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.38  genpkg_rules()
    2.39  {
    2.40  	mkdir -p $fs/usr/lib $fs/usr/share
    2.41 -	cp -a $_pkg/usr/bin $fs/usr
    2.42 -	cp -a $_pkg/etc $fs
    2.43 -	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
    2.44 -	cp -a $_pkg/usr/share/GeoIP $fs/usr/share
    2.45 +	cp -a $install/usr/bin $fs/usr
    2.46 +	cp -a $install/etc $fs
    2.47 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    2.48 +	cp -a $install/usr/share/GeoIP $fs/usr/share
    2.49  }
    2.50