wok-current annotate python-cssselect/receipt @ rev 15378
Add some licenses
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 19 13:53:26 2013 +0000 (2013-10-19) |
parents | c208e44467f1 |
children | 16df76e1fc6a |
rev | line source |
---|---|
monghitri@13954 | 1 # SliTaz package receipt. |
monghitri@13954 | 2 |
monghitri@13954 | 3 PACKAGE="python-cssselect" |
monghitri@13954 | 4 VERSION="0.7.1" |
monghitri@13954 | 5 CATEGORY="development" |
monghitri@13954 | 6 SHORT_DESC="parses CSS3 Selectors and translates them to XPath." |
monghitri@13954 | 7 MAINTAINER="monghitri@aruba.it" |
pascal@15378 | 8 LICENSE="BSD" |
monghitri@13954 | 9 SOURCE="cssselect" |
monghitri@13954 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
monghitri@13954 | 11 WEB_SITE="http://pypi.python.org/pypi/cssselect" |
monghitri@13954 | 12 WGET_URL="http://pypi.python.org/packages/source/c/$SOURCE/$TARBALL" |
pascal@15378 | 13 |
monghitri@13954 | 14 DEPENDS="python" |
monghitri@13954 | 15 BUILD_DEPENDS="python setuptools" |
monghitri@13954 | 16 |
monghitri@13954 | 17 # Rules to configure and make the package. |
monghitri@13954 | 18 compile_rules() |
monghitri@13954 | 19 { |
monghitri@13954 | 20 cd $src |
monghitri@13954 | 21 python setup.py install --root=$DESTDIR |
monghitri@13954 | 22 } |
monghitri@13954 | 23 |
monghitri@13954 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13954 | 25 genpkg_rules() |
monghitri@13954 | 26 { |
monghitri@13954 | 27 cp -a $install/usr $fs |
monghitri@13954 | 28 } |