wok-4.x annotate lxml/receipt @ rev 6453
Up: lxml to 2.2.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Sep 28 15:23:36 2010 +0000 (2010-09-28) |
parents | d04823a784db |
children |
rev | line source |
---|---|
pascal@1336 | 1 # SliTaz package receipt. |
pascal@1336 | 2 |
pascal@1336 | 3 PACKAGE="lxml" |
slaxemulator@6453 | 4 VERSION="2.2.8" |
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/" |
slaxemulator@6453 | 10 WGET_URL="http://launchpad.net/$PACKAGE/2.2/2.2.8/+download/$TARBALL" |
pascal@2474 | 11 DEPENDS="python libxml2 libxslt zlib" |
slaxemulator@6453 | 12 BUILD_DEPENDS="python python-dev libxml2-dev 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 |