wok-current diff python-pyxml/receipt @ rev 10030
gcc: use CONFIGURE_ARGS so we can cross compile from --build system for --host system (Tank: i686 --> i486)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 20 01:50:57 2011 +0200 (2011-05-20) |
parents | 57fa27788226 |
children | 49f6bb911352 |
line diff
1.1 --- a/python-pyxml/receipt Mon May 02 16:32:54 2011 +0200 1.2 +++ b/python-pyxml/receipt Fri May 20 01:50:57 2011 +0200 1.3 @@ -10,27 +10,25 @@ 1.4 WEB_SITE="http://pyxml.sourceforge.net/" 1.5 WGET_URL="$SF_MIRROR/pyxml/$TARBALL" 1.6 DEPENDS="python" 1.7 -BUILD_DEPENDS="python" 1.8 1.9 # Rules to configure and make the package. 1.10 compile_rules() 1.11 { 1.12 cd $src 1.13 + patch -Np1 -i $stuff/fix-python2.6.patch 1.14 python setup.py build --with-xslt 1.15 - python setup.py install --root=$PWD/_pkg 1.16 + python setup.py install --root=$DESTDIR 1.17 } 1.18 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 cp -a $_pkg/usr $fs 1.23 - # Apply https://bugs.archlinux.org/task/14782 fix 1.24 - sed -i 's/as /asp /;s/as,/asp,' \ 1.25 - $fs/usr/lib/python*/site-packages/_xmlplus/xpath/ParsedAbbreviated* 1.26 } 1.27 1.28 # Remove old package. 1.29 post_install() 1.30 { 1.31 + [ -d $1/var/lib/tazpkg/installed/pyxml ] && 1.32 rm -rf $1/var/lib/tazpkg/installed/pyxml 1.33 } 1.34 \ No newline at end of file