wok annotate libxslt-python/receipt @ 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
children 79091c9a2a84
rev   line source
slaxemulator@9476 1 # SliTaz package receipt.
slaxemulator@9476 2
slaxemulator@9476 3 PACKAGE="libxslt-python"
slaxemulator@9476 4 VERSION="1.1.26"
slaxemulator@9476 5 CATEGORY="development"
slaxemulator@9476 6 SHORT_DESC="python module for libxslt"
slaxemulator@9476 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@9476 8 DEPENDS="libxslt python"
slaxemulator@9476 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
slaxemulator@9476 10 WANTED="libxslt"
slaxemulator@9476 11 WEB_SITE="http://xmlsoft.org/"
slaxemulator@9476 12
slaxemulator@9476 13 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@9476 14 genpkg_rules()
slaxemulator@9476 15 {
slaxemulator@9476 16 mkdir -p $fs/usr/lib
slaxemulator@9476 17 # Python module
slaxemulator@9476 18 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
slaxemulator@9476 19 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
slaxemulator@9476 20 }
slaxemulator@9476 21