wok view PyXML/receipt @ rev 1465

update BUILD_DEPENDS in asunder clearlooks evas gcolor2 gnome-menus grsync intltool libiec61883 libwnck neon poedit portmap pycairo shared-mime-info tsclient xorg-libICE xorg-xload
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 04 09:01:05 2008 +0000 (2008-10-04)
parents df8aef2144b1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="PyXML"
4 VERSION="0.8.4"
5 CATEGORY="development"
6 SHORT_DESC="XML librairies for Python"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="python"
9 BUILD_DEPENDS="python-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://pyxml.sourceforge.net/"
12 WGET_URL="http://garr.dl.sourceforge.net/sourceforge/pyxml/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 python setup.py build --with-xslt
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 PYVER=`python -c 'import sys;print(sys.version[0:3])'`
26 mkdir -p $fs/usr/bin
27 mkdir -p $fs/usr/lib/python${PYVER}/site-packages
29 cp -a $src/build/lib.linux-i686-2.5/_xmlplus $fs/usr/lib/python${PYVER}/site-packages
30 cp -a $src/build/scripts-${PYVER}/* $fs/usr/bin
31 }