# HG changeset patch # User Christopher Rogers # Date 1301896859 0 # Node ID e2187676362292efe24364efacb48f441faa6a07 # Parent e5ae411e1d8cb90ee590078c0b8ed8aaf5358bca Made the python part of libxslt-dev into a sepatate package called libxslt-python. diff -r e5ae411e1d8c -r e21876763622 libxslt-dev/receipt --- a/libxslt-dev/receipt Mon Apr 04 01:54:51 2011 +0000 +++ b/libxslt-dev/receipt Mon Apr 04 06:00:59 2011 +0000 @@ -5,7 +5,7 @@ CATEGORY="development" SHORT_DESC="XSLT devel files support for libxml2." MAINTAINER="pankso@slitaz.org" -DEPENDS="libxslt libgcrypt-dev libxml2-dev zlib-dev" +DEPENDS="libxslt libxslt-python libgcrypt-dev libxml2-dev zlib-dev" WANTED="libxslt" WEB_SITE="http://xmlsoft.org/" @@ -21,10 +21,6 @@ cp $_pkg/usr/bin/xslt-config $fs/usr/bin chmod +x $fs/usr/bin/* - # Python module - PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') - cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib - cp -a $_pkg/usr/include $fs/usr cp -a $_pkg/usr/share/aclocal $fs/usr/share } diff -r e5ae411e1d8c -r e21876763622 libxslt-python/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libxslt-python/receipt Mon Apr 04 06:00:59 2011 +0000 @@ -0,0 +1,21 @@ +# SliTaz package receipt. + +PACKAGE="libxslt-python" +VERSION="1.1.26" +CATEGORY="development" +SHORT_DESC="python module for libxslt" +MAINTAINER="slaxemulator@gmail.com" +DEPENDS="libxslt python" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WANTED="libxslt" +WEB_SITE="http://xmlsoft.org/" + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + # Python module + PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/') + cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib +} +