wok annotate pypdf2/receipt @ rev 20102
Add plsh & pypdf2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 09 13:07:28 2017 +0200 (2017-10-09) |
parents | |
children | 9dc7e658f193 |
rev | line source |
---|---|
pascal@20102 | 1 # SliTaz package receipt. |
pascal@20102 | 2 |
pascal@20102 | 3 PACKAGE="pypdf2" |
pascal@20102 | 4 VERSION="1.26.0" |
pascal@20102 | 5 CATEGORY="development" |
pascal@20102 | 6 SHORT_DESC="A utility to read and write PDFs with Python." |
pascal@20102 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@20102 | 8 LICENSE="BSD" |
pascal@20102 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@20102 | 10 WEB_SITE="https://github.com/mstamy2/PyPDF2" |
pascal@20102 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@20102 | 12 |
pascal@20102 | 13 DEPENDS="python" |
pascal@20102 | 14 BUILD_DEPENDS="python" |
pascal@20102 | 15 |
pascal@20102 | 16 # Rules to configure and make the package. |
pascal@20102 | 17 compile_rules() |
pascal@20102 | 18 { |
pascal@20102 | 19 python setup.py build |
pascal@20102 | 20 python setup.py install --root=$DESTDIR |
pascal@20102 | 21 } |
pascal@20102 | 22 |
pascal@20102 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@20102 | 24 genpkg_rules() |
pascal@20102 | 25 { |
pascal@20102 | 26 cp -a $install/usr $fs/ |
pascal@20102 | 27 mkdir -p $install/usr/share/doc |
pascal@20102 | 28 cp $src/[CLMR]* $install/usr/share/doc |
pascal@20102 | 29 } |