wok-6.x view PyXML/receipt @ rev 1912

Add glibc-extra-samba (2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 21 23:17:46 2008 +0000 (2008-12-21)
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 }