wok view libxslt-python/receipt @ rev 12057

cleaning up receipts that have unnecessary cp operations
author Samuel Trassare <samuel_trassare@yahoo.com>
date Wed Mar 07 21:27:37 2012 -0800 (2012-03-07)
parents e21876763622
children 210b7c05d288
line source
1 # SliTaz package receipt.
3 PACKAGE="libxslt-python"
4 VERSION="1.1.26"
5 CATEGORY="development"
6 SHORT_DESC="python module for libxslt"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="libxslt python"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WANTED="libxslt"
11 WEB_SITE="http://xmlsoft.org/"
13 # Rules to gen a SliTaz package suitable for Tazpkg.
14 genpkg_rules()
15 {
16 mkdir -p $fs/usr/lib
17 # Python module
18 PYTHON_LIB=python$(grep ^VERSION= $WOK/python/receipt | sed 's/.*"\(...\).*/\1/')
19 cp -a $_pkg/usr/lib/$PYTHON_LIB $fs/usr/lib
20 }