wok-stable view PyXML/receipt @ rev 1151
Add irssi-scripts
author | julian <julian@slitaz.org> |
---|---|
date | Sat Jul 26 18:58:09 2008 +0200 (2008-07-26) |
parents | |
children | 03a799424aaa |
line source
1 # SliTaz package receipt.
3 PACKAGE="PyXML"
4 VERSION="0.8.4"
5 CATEGORY="developpement"
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 }