wok annotate pypdf2/receipt @ rev 20653
Down dietlibc (0.33)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 13 10:59:57 2019 +0100 (2019-01-13) |
parents | d1bbfbf0568c |
children | 5ea0ce1cecc0 |
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@20103 | 28 cp $src/[CLM]* $src/README* $install/usr/share/doc |
pascal@20102 | 29 } |