wok-next annotate libxml2-python/receipt @ rev 2200

Add atm-tools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 09 17:26:49 2009 +0000 (2009-02-09)
parents b4ffce711149
children a714cd6d9d90
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@1233 11 DEPENDS="python libxml2"
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