wok-next diff python-qrcode/receipt @ rev 15477

Add python-qrcode
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 10 10:29:13 2013 +0000 (2013-11-10)
parents
children 0b592dc3c0d4
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/python-qrcode/receipt	Sun Nov 10 10:29:13 2013 +0000
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="python-qrcode"
     1.7 +SOURCE="qrcode"
     1.8 +VERSION="4.0.4"
     1.9 +CATEGORY="development"
    1.10 +SHORT_DESC="Python QR Code image generator."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +LICENSE="PSL"
    1.13 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.14 +WEB_SITE="https://pypi.python.org/pypi/qrcode"
    1.15 +WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
    1.16 +
    1.17 +DEPENDS="python python-pil"
    1.18 +BUILD_DEPENDS="python-dev python"
    1.19 +
    1.20 +# Rules to configure and make the package.
    1.21 +compile_rules()
    1.22 +{
    1.23 +	cd $src
    1.24 +	python setup.py build &&
    1.25 +	python setup.py install --root=$DESTDIR
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +	cp -a $install/usr $fs
    1.32 +}