wok-next annotate urlgrabber/receipt @ rev 10751

Add slitaz-i18n-extra and first step with locale-fr-extra
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 30 19:03:21 2011 +0200 (2011-05-30)
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