wok-current annotate urlgrabber/receipt @ rev 22992
updated l3afpad again (0.8.18.1.10 -> 0.8.18.1.11)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Mar 01 17:52:11 2020 +0100 (2020-03-01) |
parents | 78bea43b4006 |
children | 83b97236db32 |
rev | line source |
---|---|
slaxemulator@7916 | 1 # SliTaz package receipt. |
slaxemulator@7916 | 2 |
slaxemulator@7916 | 3 PACKAGE="urlgrabber" |
Hans-G?nter@22083 | 4 VERSION="4.0.0" |
slaxemulator@7916 | 5 CATEGORY="development" |
Hans-G?nter@22083 | 6 SHORT_DESC="A high-level cross-protocol URL-grabber and Python library." |
slaxemulator@7916 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15352 | 8 LICENSE="LGPL2.1" |
Hans-G?nter@22083 | 9 WEB_SITE="http://urlgrabber.baseurl.org/" |
Hans-G?nter@22083 | 10 |
slaxemulator@7916 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@22083 | 12 WGET_URL="${WEB_SITE}download/$TARBALL" |
slaxemulator@7916 | 13 |
Hans-G?nter@22083 | 14 DEPENDS="pycurl python" |
Hans-G?nter@22087 | 15 BUILD_DEPENDS="pycurl python-dev python-setuptools python-six" |
pascal@15352 | 16 |
slaxemulator@7916 | 17 # Rules to configure and make the package. |
slaxemulator@7916 | 18 compile_rules() |
slaxemulator@7916 | 19 { |
pascal@15352 | 20 python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1 |
slaxemulator@7916 | 21 } |
slaxemulator@7916 | 22 |
slaxemulator@7916 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7916 | 24 genpkg_rules() |
slaxemulator@7916 | 25 { |
slaxemulator@7916 | 26 mkdir -p $fs/usr |
Hans-G?nter@22083 | 27 |
Hans-G?nter@22083 | 28 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22083 | 29 cp -a $install/usr/lib $fs/usr |
slaxemulator@7916 | 30 } |