wok-6.x rev 19655
Add python-invoice2data
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 27 09:48:15 2017 +0100 (2017-01-27) |
parents | 1bf436c396bc |
children | e2ba79a6a8fb |
files | python-invoice2data/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/python-invoice2data/receipt Fri Jan 27 09:48:15 2017 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="python-invoice2data" 1.7 +VERSION="0.2.42" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Extract structured data from PDF invoices." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/m3nu/invoice2data" 1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.15 +DEPENDS="python" 1.16 +BUILD_DEPENDS="python setuptools" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + python setup.py install --root=$DESTDIR 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr 1.28 + cp -a $install/usr $fs 1.29 +}