wok-current annotate picamera/receipt @ rev 19930
lives: fix symlink (thanks I-Jurij)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 26 15:00:16 2017 +0200 (2017-04-26) |
parents | |
children | 104a2a2e5484 |
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" |
pankso@16467 | 15 BUILD_DEPENDS="python wget" |
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 |