wok-6.x annotate libxml2-python/receipt @ rev 4353
Update: java-* - remove files that are already in dependent packages
author | Matthew Sheets <rcx@zoominternet.net> |
---|---|
date | Sat Oct 03 22:00:35 2009 +0000 (2009-10-03) |
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 |