# HG changeset patch # User Pascal Bellard # Date 1485506895 -3600 # Node ID 662559033c607cfa97efe513697a7edc91f58ef6 # Parent 1bf436c396bcda1dafc28168818c722d2f7dc98f Add python-invoice2data diff -r 1bf436c396bc -r 662559033c60 python-invoice2data/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/python-invoice2data/receipt Fri Jan 27 09:48:15 2017 +0100 @@ -0,0 +1,26 @@ +# SliTaz package receipt. + +PACKAGE="python-invoice2data" +VERSION="0.2.42" +CATEGORY="development" +SHORT_DESC="Extract structured data from PDF invoices." +MAINTAINER="pascal.bellard@slitaz.org" +LICENSE="MIT" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WEB_SITE="https://github.com/m3nu/invoice2data" +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" +DEPENDS="python" +BUILD_DEPENDS="python setuptools" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr + cp -a $install/usr $fs +}