wok-current annotate python-invoice2data/receipt @ rev 19661
Up openssl (1.0.2k)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jan 28 13:51:03 2017 +0200 (2017-01-28) |
parents | 662559033c60 |
children | 8e449fe1df2e |
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@19656 | 12 TAGES="pdf" |
pascal@19656 | 13 |
pascal@19656 | 14 DEPENDS="python poppler-apps" |
pascal@19655 | 15 BUILD_DEPENDS="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 } |