wok-current view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="pyxml"
4 VERSION="0.8.4"
5 CATEGORY="development"
6 SHORT_DESC="Pythonic binding for xml..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="PyXML"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://pyxml.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="python"
13 BUILD_DEPENDS="python"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py build --with-xslt
20 python setup.py install --root=$PWD/_pkg
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }