wok-6.x annotate urlgrabber/receipt @ rev 23785
updated xz and xz-dev (5.2.4 -> 5.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 22 06:25:33 2020 +0100 (2020-05-22) |
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 } |