wok diff geoip/receipt @ rev 14074
coreutils: add cp
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 22 15:32:40 2013 +0100 (2013-02-22) |
parents | 9fa62bfcec02 |
children | d1c17bd2c2bc |
line diff
1.1 --- a/geoip/receipt Wed Nov 17 03:07:03 2010 +0000 1.2 +++ b/geoip/receipt Fri Feb 22 15:32:40 2013 +0100 1.3 @@ -1,37 +1,39 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="geoip" 1.7 -VERSION="1.4.6" 1.8 +VERSION="1.4.8" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Non-DNS IP-to-country resolver C library & utils." 1.11 MAINTAINER="slaxemulator@gmail.com" 1.12 -DEPENDS="zlib" 1.13 -BUILD_DEPENDS="zlib-dev" 1.14 SOURCE="GeoIP" 1.15 TARBALL="$SOURCE-$VERSION.tar.gz" 1.16 WEB_SITE="http://www.maxmind.com/app/c" 1.17 WGET_URL="http://www.maxmind.com/download/geoip/api/c/$TARBALL" 1.18 1.19 +DEPENDS="zlib" 1.20 +BUILD_DEPENDS="zlib-dev" 1.21 + 1.22 # Rules to configure and make the package. 1.23 compile_rules() 1.24 { 1.25 cd $src 1.26 + autoreconf -i 1.27 ./configure \ 1.28 --prefix=/usr \ 1.29 --infodir=/usr/share/info \ 1.30 --mandir=/usr/share/man \ 1.31 --sysconfdir=/etc/geoip \ 1.32 $CONFIGURE_ARGS && 1.33 - make && make DESTDIR=$PWD/_pkg install 1.34 + make && make DESTDIR=$DESTDIR install 1.35 } 1.36 1.37 # Rules to gen a SliTaz package suitable for Tazpkg. 1.38 genpkg_rules() 1.39 { 1.40 mkdir -p $fs/usr/lib $fs/usr/share 1.41 - cp -a $_pkg/usr/bin $fs/usr 1.42 - cp -a $_pkg/etc $fs 1.43 - cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.44 - cp -a $_pkg/usr/share/GeoIP $fs/usr/share 1.45 + cp -a $install/usr/bin $fs/usr 1.46 + cp -a $install/etc $fs 1.47 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.48 + cp -a $install/usr/share/GeoIP $fs/usr/share 1.49 } 1.50