wok-6.x annotate lxml/receipt @ rev 2375
Dia: needs libxslt
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 07 13:47:05 2009 +0000 (2009-03-07) |
parents | 200afcc9e5f4 |
children | d04823a784db |
rev | line source |
---|---|
pascal@1336 | 1 # SliTaz package receipt. |
pascal@1336 | 2 |
pascal@1336 | 3 PACKAGE="lxml" |
pascal@1336 | 4 VERSION="2.1.1" |
pascal@1336 | 5 CATEGORY="development" |
pascal@1336 | 6 SHORT_DESC="Python bindings for libxml2 and libxslt libraries." |
pascal@1336 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1336 | 8 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@1336 | 9 WEB_SITE="http://codespeak.net/lxml/" |
pascal@1336 | 10 WGET_URL="http://codespeak.net/$PACKAGE/$TARBALL" |
pascal@1336 | 11 DEPENDS="python libxml2 libxslt" |
pascal@1461 | 12 BUILD_DEPENDS="python libxslt-dev" |
pascal@1336 | 13 |
pascal@1336 | 14 # Rules to configure and make the package. |
pascal@1336 | 15 compile_rules() |
pascal@1336 | 16 { |
pascal@1336 | 17 cd $src |
pascal@1461 | 18 python setup.py build && |
pascal@1336 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1336 | 20 } |
pascal@1336 | 21 |
pascal@1336 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1336 | 23 genpkg_rules() |
pascal@1336 | 24 { |
pascal@1336 | 25 cp -a $_pkg/usr $fs |
pascal@1336 | 26 } |
pascal@1336 | 27 |