wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="python-xlwt"
4 SOURCE="xlwt"
5 VERSION="0.7.2"
6 CATEGORY="development"
7 SHORT_DESC="Python module for reading/writing Microsoft Excel spreadsheet files"
8 MAINTAINER="pascal.bellard@slitaz.org"
9 TARBALL="${SOURCE}_$VERSION.orig.tar.gz"
10 WEB_SITE="http://www.janrain.com/openid-enabled/"
11 WGET_URL="http://ftp.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL"
13 DEPENDS="python python-antlr"
14 BUILD_DEPENDS="python-dev python"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs
28 cp -a $_pkg/usr $fs
29 }