wok-current view python-pyxml/receipt @ rev 10995
Up: atkmm to 2.22.5.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 13 02:45:26 2011 +0000 (2011-10-13) |
parents | 57fa27788226 |
children | 49f6bb911352 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-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/pyxml/$TARBALL"
12 DEPENDS="python"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -Np1 -i $stuff/fix-python2.6.patch
19 python setup.py build --with-xslt
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $_pkg/usr $fs
27 }
29 # Remove old package.
30 post_install()
31 {
32 [ -d $1/var/lib/tazpkg/installed/pyxml ] &&
33 rm -rf $1/var/lib/tazpkg/installed/pyxml
34 }