wok-next diff urlgrabber/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 7390f8de9846 |
children |
line diff
1.1 --- a/urlgrabber/receipt Sat May 23 16:17:14 2015 +0300 1.2 +++ b/urlgrabber/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -1,28 +1,23 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="urlgrabber" 1.8 VERSION="3.9.1" 1.9 CATEGORY="development" 1.10 -SHORT_DESC="A high-level cross-protocol url-grabber and Python library." 1.11 -MAINTAINER="slaxemulator@gmail.com" 1.12 +SHORT_DESC="A high-level cross-protocol url-grabber and Python library" 1.13 +MAINTAINER="devel@slitaz.org" 1.14 LICENSE="LGPL2.1" 1.15 +WEB_SITE="http://urlgrabber.baseurl.org/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://urlgrabber.baseurl.org/" 1.19 WGET_URL="$WEB_SITE/download/$TARBALL" 1.20 1.21 -DEPENDS="python pycurl" 1.22 BUILD_DEPENDS="python-dev pycurl" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 1.28 +compile_rules() { 1.29 + python -B setup.py install --prefix=/usr --root=$install 1.30 } 1.31 1.32 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.33 -genpkg_rules() 1.34 -{ 1.35 - mkdir -p $fs/usr 1.36 - cp -a $install/usr/bin $fs/usr 1.37 - cp -a $install/usr/lib $fs/usr 1.38 +genpkg_rules() { 1.39 + copy @std 1.40 + DEPENDS="python pycurl" 1.41 }