wok annotate urlgrabber/receipt @ rev 19588

Up node (6.9.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Dec 28 14:42:27 2016 +0100 (2016-12-28)
parents 4a6a57ff0b8c
children 78bea43b4006
rev   line source
slaxemulator@7916 1 # SliTaz package receipt.
slaxemulator@7916 2
slaxemulator@7916 3 PACKAGE="urlgrabber"
slaxemulator@7916 4 VERSION="3.9.1"
slaxemulator@7916 5 CATEGORY="development"
slaxemulator@7916 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"
slaxemulator@7916 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7916 10 WEB_SITE="http://urlgrabber.baseurl.org/"
slaxemulator@7916 11 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@7916 12
pascal@15352 13 DEPENDS="python pycurl"
pascal@15352 14 BUILD_DEPENDS="python-dev pycurl"
pascal@15352 15
slaxemulator@7916 16 # Rules to configure and make the package.
slaxemulator@7916 17 compile_rules()
slaxemulator@7916 18 {
pascal@15352 19 python setup.py install --prefix=/usr --root=$DESTDIR --optimize=1
slaxemulator@7916 20 }
slaxemulator@7916 21
slaxemulator@7916 22 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7916 23 genpkg_rules()
slaxemulator@7916 24 {
slaxemulator@7916 25 mkdir -p $fs/usr
pascal@15352 26 cp -a $install/usr/bin $fs/usr
pascal@15352 27 cp -a $install/usr/lib $fs/usr
slaxemulator@7916 28 }