wok-next view picamera/receipt @ rev 20454

Choose between libpng16 and libpng12
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 17:32:31 2018 +0200 (2018-02-28)
parents
children d43bf7aae921
line source
1 # SliTaz package receipt.
3 PACKAGE="picamera"
4 VERSION="1.3"
5 CATEGORY="multimedia"
6 SHORT_DESC="A pure Python interface for the Raspberry Pi camera module."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://pypi.python.org/pypi/picamera/"
11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL"
12 HOST_ARCH="arm"
14 DEPENDS="python"
15 BUILD_DEPENDS="python wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py install --root=$DESTDIR
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/usr $fs
27 }