wok-next annotate urlgrabber/receipt @ rev 18455

Up libhx (3.21)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 28 12:02:13 2015 +0200 (2015-09-28)
parents 4a6a57ff0b8c
children d5aab818505e
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 }