wok view 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 source
1 # SliTaz package receipt.
3 PACKAGE="python-qrcode"
4 SOURCE="qrcode"
5 VERSION="4.0.4"
6 CATEGORY="development"
7 SHORT_DESC="Python QR Code image generator."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PSL"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="https://pypi.python.org/pypi/qrcode"
12 WGET_URL="http://pypi.python.org/packages/source/${SOURCE:0:1}/$SOURCE/$TARBALL"
14 DEPENDS="python python-pil"
15 BUILD_DEPENDS="python-dev python"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 python setup.py build &&
22 python setup.py install --root=$DESTDIR
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 cp -a $install/usr $fs
29 }