wok-4.x rev 9476
Made the python part of libxslt-dev into a sepatate package called libxslt-python.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Apr 04 06:00:59 2011 +0000 (2011-04-04) |
parents | e5ae411e1d8c |
children | 9891e0959aef |
files | libxslt-dev/receipt libxslt-python/receipt |
line diff
1.1 --- a/libxslt-dev/receipt Mon Apr 04 01:54:51 2011 +0000 1.2 +++ b/libxslt-dev/receipt Mon Apr 04 06:00:59 2011 +0000 1.3 @@ -5,7 +5,7 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="XSLT devel files support for libxml2." 1.6 MAINTAINER="pankso@slitaz.org" 1.7 -DEPENDS="libxslt libgcrypt-dev libxml2-dev zlib-dev" 1.8 +DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev" 1.9 WANTED="libxslt" 1.10 WEB_SITE="http://xmlsoft.org/" 1.11 1.12 @@ -21,10 +21,6 @@ 1.13 cp $_pkg/usr/bin/xslt-config $fs/usr/bin 1.14 chmod +x $fs/usr/bin/* 1.15 1.16 - # Python module 1.17 - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 1.18 - cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib 1.19 - 1.20 cp -a $_pkg/usr/include $fs/usr 1.21 cp -a $_pkg/usr/share/aclocal $fs/usr/share 1.22 }
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/libxslt-python/receipt Mon Apr 04 06:00:59 2011 +0000 2.3 @@ -0,0 +1,21 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="libxslt-python" 2.7 +VERSION="1.1.26" 2.8 +CATEGORY="development" 2.9 +SHORT_DESC="python module for libxslt" 2.10 +MAINTAINER="slaxemulator@gmail.com" 2.11 +DEPENDS="libxslt python" 2.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.13 +WANTED="libxslt" 2.14 +WEB_SITE="http://xmlsoft.org/" 2.15 + 2.16 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.17 +genpkg_rules() 2.18 +{ 2.19 + mkdir -p $fs/usr/lib 2.20 + # Python module 2.21 + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') 2.22 + cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib 2.23 +} 2.24 +