wok-next annotate urlgrabber/receipt @ rev 12115

Fix usb-modeswitch-data build
author Christophe Lincoln <pankso@slitaz.org>
date Tue Mar 13 09:31:10 2012 +0100 (2012-03-13)
parents
children 4a6a57ff0b8c
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"
slaxemulator@7916 8 DEPENDS="python pycurl"
slaxemulator@7916 9 BUILD_DEPENDS="python-dev pycurl"
slaxemulator@7916 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@7916 11 WEB_SITE="http://urlgrabber.baseurl.org/"
slaxemulator@7916 12 WGET_URL="$WEB_SITE/download/$TARBALL"
slaxemulator@7916 13
slaxemulator@7916 14 # Rules to configure and make the package.
slaxemulator@7916 15 compile_rules()
slaxemulator@7916 16 {
slaxemulator@7916 17 cd $src
slaxemulator@7916 18 python setup.py install --prefix=/usr --root=$PWD/_pkg --optimize=1
slaxemulator@7916 19 }
slaxemulator@7916 20
slaxemulator@7916 21 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7916 22 genpkg_rules()
slaxemulator@7916 23 {
slaxemulator@7916 24 mkdir -p $fs/usr
slaxemulator@7916 25 cp -a $_pkg/usr/bin $fs/usr
slaxemulator@7916 26 cp -a $_pkg/usr/lib $fs/usr
slaxemulator@7916 27 }
slaxemulator@7916 28