wok-6.x annotate lxml/receipt @ rev 4187
Fix: scons FSH and update to 1.2.0
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 23 09:48:52 2009 +0200 (2009-09-23) |
parents | b94e60fe7b4e |
children | 1f9b4a3e391f |
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@2474 | 11 DEPENDS="python libxml2 libxslt zlib" |
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 |