wok-next annotate python-lxml/receipt @ rev 8457
Add setuptools to python-lxml build depends.
| author | Christopher Rogers <slaxemulator@gmail.com> |
|---|---|
| date | Sun Feb 06 19:22:12 2011 +0000 (2011-02-06) |
| parents | c27f65372234 |
| children | 28aad63e4fd6 |
| rev | line source |
|---|---|
| pascal@1626 | 1 # SliTaz package receipt. |
| pascal@1626 | 2 |
| pascal@1626 | 3 PACKAGE="python-lxml" |
| pankso@4361 | 4 VERSION="2.2.2" |
| pascal@1626 | 5 CATEGORY="development" |
| pascal@1626 | 6 SHORT_DESC="Pythonic binding for the libxml2 and libxslt libraries.." |
| pascal@1626 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
| pascal@1626 | 8 SOURCE="lxml" |
| pascal@1626 | 9 TARBALL="$SOURCE-$VERSION.tgz" |
| pascal@1626 | 10 WEB_SITE="http://codespeak.net/lxml/" |
| pascal@1626 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
| pascal@2455 | 12 DEPENDS="python libxml2 libxslt zlib" |
| slaxemulator@8457 | 13 BUILD_DEPENDS="python libxml2 libxml2-dev libxslt libxslt-dev setuptools" |
| pascal@1626 | 14 |
| pascal@1626 | 15 # Rules to configure and make the package. |
| pascal@1626 | 16 compile_rules() |
| pascal@1626 | 17 { |
| pascal@1626 | 18 cd $src |
| pascal@1626 | 19 make && python setup.py install --root=$PWD/_pkg |
| pascal@1626 | 20 } |
| pascal@1626 | 21 |
| pascal@1626 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
| pascal@1626 | 23 genpkg_rules() |
| pascal@1626 | 24 { |
| pascal@1626 | 25 cp -a $_pkg/usr $fs |
| pascal@1626 | 26 } |
| pascal@1626 | 27 |