wok-next annotate picamera/receipt @ rev 20513
A lot of tiny edits; remove wget and pkg-build from $BUILD_DEPENDS and from *-dev packages $DEPENDS.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 21 15:58:17 2018 +0200 (2018-03-21) |
parents | 3ab4ece3450e |
children | 4e6503d7a19f |
rev | line source |
---|---|
pankso@16467 | 1 # SliTaz package receipt. |
pankso@16467 | 2 |
pankso@16467 | 3 PACKAGE="picamera" |
pankso@16467 | 4 VERSION="1.3" |
pankso@16467 | 5 CATEGORY="multimedia" |
pankso@16467 | 6 SHORT_DESC="A pure Python interface for the Raspberry Pi camera module." |
pankso@16467 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16467 | 8 LICENSE="BSD" |
pankso@16467 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@16467 | 10 WEB_SITE="https://pypi.python.org/pypi/picamera/" |
pankso@16467 | 11 WGET_URL="https://pypi.python.org/packages/source/p/$PACKAGE/$TARBALL" |
pankso@16467 | 12 HOST_ARCH="arm" |
pankso@16467 | 13 |
pankso@16467 | 14 DEPENDS="python" |
al@20513 | 15 BUILD_DEPENDS="python" |
pankso@16467 | 16 |
pankso@16467 | 17 # Rules to configure and make the package. |
pankso@16467 | 18 compile_rules() |
pankso@16467 | 19 { |
pankso@16467 | 20 python setup.py install --root=$DESTDIR |
pankso@16467 | 21 } |
pankso@16467 | 22 |
pankso@16467 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16467 | 24 genpkg_rules() |
pankso@16467 | 25 { |
pankso@16467 | 26 cp -a $install/usr $fs |
pankso@16467 | 27 } |
pankso@16467 | 28 |