wok diff python-xlwt/receipt @ rev 11845

vanessa_adt: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 27 08:26:19 2012 +0100 (2012-02-27)
parents
children bf4a09ef1d2e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-xlwt/receipt	Mon Feb 27 08:26:19 2012 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-xlwt"
     1.7 +SOURCE="xlwt"
     1.8 +VERSION="0.7.2"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Python module for reading/writing Microsoft Excel spreadsheet files"
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="${SOURCE}_$VERSION.orig.tar.gz"
    1.13 +WEB_SITE="http://www.janrain.com/openid-enabled/"
    1.14 +WGET_URL="http://ftp.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.15 +
    1.16 +DEPENDS="python python-antlr"
    1.17 +BUILD_DEPENDS="python-dev python"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cd $src
    1.23 +	python setup.py build &&
    1.24 +	python setup.py install --root=$DESTDIR
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs
    1.31 +	cp -a $_pkg/usr $fs
    1.32 +}