wok annotate python-invoice2data/receipt @ rev 21985

linld: x86 support (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 14 11:52:35 2019 +0200 (2019-10-14)
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 }