wok-next diff urlgrabber/receipt @ rev 16156
Up slitaz-boot-scripts (5.4.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 28 15:00:50 2014 +0000 (2014-03-28) |
parents | 416fae966500 |
children | 7390f8de9846 |
line diff
1.1 --- a/urlgrabber/receipt Sun Jan 09 16:42:22 2011 +0000 1.2 +++ b/urlgrabber/receipt Fri Mar 28 15:00:50 2014 +0000 1.3 @@ -5,24 +5,26 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="A high-level cross-protocol url-grabber and Python library." 1.6 MAINTAINER="slaxemulator@gmail.com" 1.7 -DEPENDS="python pycurl" 1.8 -BUILD_DEPENDS="python-dev pycurl" 1.9 +LICENSE="LGPL2.1" 1.10 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.11 WEB_SITE="http://urlgrabber.baseurl.org/" 1.12 WGET_URL="$WEB_SITE/download/$TARBALL" 1.13 1.14 +DEPENDS="python pycurl" 1.15 +BUILD_DEPENDS="python-dev pycurl" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 cd $src 1.21 - python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1 1.22 + python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 1.23 } 1.24 1.25 # Rules to gen a SliTaz package suitable for Tazpkg. 1.26 genpkg_rules() 1.27 { 1.28 mkdir -p $fs/usr 1.29 - cp -a $_pkg/usr/bin $fs/usr 1.30 - cp -a $_pkg/usr/lib $fs/usr 1.31 + cp -a $install/usr/bin $fs/usr 1.32 + cp -a $install/usr/lib $fs/usr 1.33 } 1.34