wok-next annotate python-cssselect/receipt @ rev 14564
eina-dev: Up to 1.7.7
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Thu May 23 19:35:56 2013 +0200 (2013-05-23) |
parents | |
children | fd4f1e692109 |
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" |
monghitri@13954 | 8 SOURCE="cssselect" |
monghitri@13954 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
monghitri@13954 | 10 WEB_SITE="http://pypi.python.org/pypi/cssselect" |
monghitri@13954 | 11 WGET_URL="http://pypi.python.org/packages/source/c/$SOURCE/$TARBALL" |
monghitri@13954 | 12 DEPENDS="python" |
monghitri@13954 | 13 BUILD_DEPENDS="python setuptools" |
monghitri@13954 | 14 |
monghitri@13954 | 15 # Rules to configure and make the package. |
monghitri@13954 | 16 compile_rules() |
monghitri@13954 | 17 { |
monghitri@13954 | 18 cd $src |
monghitri@13954 | 19 python setup.py install --root=$DESTDIR |
monghitri@13954 | 20 } |
monghitri@13954 | 21 |
monghitri@13954 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
monghitri@13954 | 23 genpkg_rules() |
monghitri@13954 | 24 { |
monghitri@13954 | 25 cp -a $install/usr $fs |
monghitri@13954 | 26 } |