wok-current annotate libxml2-python/receipt @ rev 3170
Add jtoolkit (Python web application framework)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 25 01:25:59 2009 +0200 (2009-05-25) |
parents | 3d99ecce2d4b |
children | c27f65372234 |
rev | line source |
---|---|
pascal@1233 | 1 # SliTaz package receipt. |
pascal@1233 | 2 |
pascal@1233 | 3 PACKAGE="libxml2-python" |
pascal@1233 | 4 VERSION="2.6.9" |
pascal@1233 | 5 CATEGORY="development" |
pascal@1233 | 6 SHORT_DESC="Libxml2 adapter for the Python." |
pascal@1233 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1233 | 8 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1233 | 9 WEB_SITE="http://xmlsoft.org/" |
pascal@1233 | 10 WGET_URL="ftp://xmlsoft.org/libxml2/python/$TARBALL" |
pascal@2475 | 11 DEPENDS="python libxml2 libxslt" |
pascal@1511 | 12 BUILD_DEPENDS="python python-dev libxml2-dev" |
pascal@1233 | 13 |
pascal@1233 | 14 # Rules to configure and make the package. |
pascal@1233 | 15 compile_rules() |
pascal@1233 | 16 { |
pascal@1233 | 17 cd $src |
pascal@1511 | 18 python setup.py build && |
pascal@1233 | 19 python setup.py install --root=$PWD/_pkg |
pascal@1233 | 20 } |
pascal@1233 | 21 |
pascal@1233 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1233 | 23 genpkg_rules() |
pascal@1233 | 24 { |
pascal@1233 | 25 cp -a $_pkg/usr $fs |
pascal@1233 | 26 } |
pascal@1233 | 27 |