wok-stable view libxslt-python/receipt @ rev 10839

pingus: clean receipt and fix compile_rules so it dont build if broken
author Christophe Lincoln <pankso@slitaz.org>
date Wed Jun 08 23:38:19 2011 +0200 (2011-06-08)
parents
children 79091c9a2a84
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 }