wok-6.x annotate python-xlwt/receipt @ rev 21858
Fix re2c build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 18 19:26:59 2019 +0200 (2019-09-18) |
parents | 7390f8de9846 |
children | ac072d26eec5 |
rev | line source |
---|---|
pascal@11727 | 1 # SliTaz package receipt. |
pascal@11727 | 2 |
pascal@11727 | 3 PACKAGE="python-xlwt" |
pascal@11727 | 4 SOURCE="xlwt" |
pascal@11727 | 5 VERSION="0.7.2" |
pascal@11727 | 6 CATEGORY="development" |
pascal@11727 | 7 SHORT_DESC="Python module for reading/writing Microsoft Excel spreadsheet files" |
pascal@11727 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15376 | 9 LICENSE="BSD" |
pascal@11727 | 10 TARBALL="${SOURCE}_$VERSION.orig.tar.gz" |
pascal@21858 | 11 WEB_SITE="https://web.archive.org/web/20190226022416/http://www.janrain.com/openid-enabled/" |
pascal@11727 | 12 WGET_URL="http://ftp.debian.org/debian/pool/main/${SOURCE:0:1}/$SOURCE/$TARBALL" |
pascal@11727 | 13 |
pascal@11727 | 14 DEPENDS="python python-antlr" |
pascal@11727 | 15 BUILD_DEPENDS="python-dev python" |
pascal@11727 | 16 |
pascal@11727 | 17 # Rules to configure and make the package. |
pascal@11727 | 18 compile_rules() |
pascal@11727 | 19 { |
pascal@11727 | 20 python setup.py build && |
pascal@11727 | 21 python setup.py install --root=$DESTDIR |
pascal@11727 | 22 } |
pascal@11727 | 23 |
pascal@11727 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@11727 | 25 genpkg_rules() |
pascal@11727 | 26 { |
pascal@11727 | 27 mkdir -p $fs |
pascal@15376 | 28 cp -a $install/usr $fs |
pascal@11727 | 29 } |