wok-stable diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/PyXML/receipt	Sat Jul 26 18:58:09 2008 +0200
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="PyXML"
     1.7 +VERSION="0.8.4"
     1.8 +CATEGORY="developpement"
     1.9 +SHORT_DESC="XML librairies for Python"
    1.10 +MAINTAINER="erjo@slitaz.org"
    1.11 +DEPENDS="python"
    1.12 +BUILD_DEPENDS="python-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://pyxml.sourceforge.net/"
    1.15 +WGET_URL="http://garr.dl.sourceforge.net/sourceforge/pyxml/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	python setup.py build --with-xslt
    1.22 +}
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	PYVER=`python -c 'import sys;print(sys.version[0:3])'`
    1.28 +	
    1.29 +	mkdir -p $fs/usr/bin 
    1.30 +	mkdir -p $fs/usr/lib/python${PYVER}/site-packages
    1.31 +
    1.32 +	cp -a $src/build/lib.linux-i686-2.5/_xmlplus $fs/usr/lib/python${PYVER}/site-packages
    1.33 +	cp -a $src/build/scripts-${PYVER}/* $fs/usr/bin
    1.34 +}
    1.35 +	
    1.36 +