wok annotate python-pyxml/receipt @ rev 5177

Added vym
author Liu Peng <rocky@slitaz.org>
date Sat Mar 27 15:44:32 2010 +0000 (2010-03-27)
parents
children 57fa27788226
rev   line source
claudinei@3414 1 # SliTaz package receipt.
claudinei@3414 2
claudinei@3414 3 PACKAGE="python-pyxml"
claudinei@3414 4 VERSION="0.8.4"
claudinei@3414 5 CATEGORY="development"
claudinei@3414 6 SHORT_DESC="Pythonic binding for xml..."
claudinei@3414 7 MAINTAINER="pascal.bellard@slitaz.org"
claudinei@3414 8 SOURCE="PyXML"
claudinei@3414 9 TARBALL="$SOURCE-$VERSION.tar.gz"
claudinei@3414 10 WEB_SITE="http://pyxml.sourceforge.net/"
claudinei@3414 11 WGET_URL="$SF_MIRROR/pyxml/$TARBALL"
claudinei@3414 12 DEPENDS="python"
claudinei@3414 13 BUILD_DEPENDS="python"
claudinei@3414 14
claudinei@3414 15 # Rules to configure and make the package.
claudinei@3414 16 compile_rules()
claudinei@3414 17 {
claudinei@3414 18 cd $src
claudinei@3414 19 python setup.py build --with-xslt
claudinei@3414 20 python setup.py install --root=$PWD/_pkg
claudinei@3414 21 }
claudinei@3414 22
claudinei@3414 23 # Rules to gen a SliTaz package suitable for Tazpkg.
claudinei@3414 24 genpkg_rules()
claudinei@3414 25 {
claudinei@3414 26 cp -a $_pkg/usr $fs
claudinei@3414 27 }
claudinei@3414 28
claudinei@3414 29 # Remove old package.
claudinei@3414 30 post_install()
claudinei@3414 31 {
claudinei@3414 32 rm -rf $1/var/lib/tazpkg/installed/pyxml
claudinei@3414 33 }