wok-current annotate pyxml/receipt @ rev 3000

slim: Fix pre_install func to backup config file (Thanks firmit)
author Christophe Lincoln <pankso@slitaz.org>
date Mon May 11 21:44:31 2009 +0200 (2009-05-11)
parents bcbd2a8e11a1
children
rev   line source
pascal@1644 1 # SliTaz package receipt.
pascal@1644 2
pascal@1644 3 PACKAGE="pyxml"
pascal@1644 4 VERSION="0.8.4"
pascal@1644 5 CATEGORY="development"
pascal@1644 6 SHORT_DESC="Pythonic binding for xml..."
pascal@1644 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1644 8 SOURCE="PyXML"
pascal@1644 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pankso@2410 10 WEB_SITE="http://pyxml.sourceforge.net/"
pascal@1644 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@1644 12 DEPENDS="python"
pascal@1644 13 BUILD_DEPENDS="python"
pascal@1644 14
pascal@1644 15 # Rules to configure and make the package.
pascal@1644 16 compile_rules()
pascal@1644 17 {
pascal@1644 18 cd $src
pankso@2410 19 python setup.py build --with-xslt
pascal@1644 20 python setup.py install --root=$PWD/_pkg
pascal@1644 21 }
pascal@1644 22
pascal@1644 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1644 24 genpkg_rules()
pascal@1644 25 {
pascal@1644 26 cp -a $_pkg/usr $fs
pascal@1644 27 }
pascal@1644 28