wok-6.x annotate python-invoice2data/receipt @ rev 22711
exempi: add bin/exempi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Jan 22 11:18:51 2020 +0100 (2020-01-22) |
parents | 8e449fe1df2e |
children | bf3cab9850ff |
rev | line source |
---|---|
pascal@19655 | 1 # SliTaz package receipt. |
pascal@19655 | 2 |
pascal@19655 | 3 PACKAGE="python-invoice2data" |
pascal@19655 | 4 VERSION="0.2.42" |
pascal@19655 | 5 CATEGORY="development" |
pascal@19655 | 6 SHORT_DESC="Extract structured data from PDF invoices." |
pascal@19655 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@19655 | 8 LICENSE="MIT" |
pascal@19655 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@19655 | 10 WEB_SITE="https://github.com/m3nu/invoice2data" |
pascal@19655 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@20475 | 12 TAGS="pdf" |
pascal@19656 | 13 |
pascal@19656 | 14 DEPENDS="python poppler-apps" |
pascal@21582 | 15 BUILD_DEPENDS="python python-setuptools" |
pascal@19655 | 16 |
pascal@19655 | 17 # Rules to configure and make the package. |
pascal@19655 | 18 compile_rules() |
pascal@19655 | 19 { |
pascal@19655 | 20 python setup.py install --root=$DESTDIR |
pascal@19655 | 21 } |
pascal@19655 | 22 |
pascal@19655 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@19655 | 24 genpkg_rules() |
pascal@19655 | 25 { |
pascal@19655 | 26 mkdir -p $fs/usr |
pascal@19655 | 27 cp -a $install/usr $fs |
pascal@19655 | 28 } |