wok-6.x view picamera/receipt @ rev 24973
Up zsh (5.8.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 01 15:03:44 2022 +0000 (2022-05-01) |
parents | 3ab4ece3450e |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q"
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 python setup.py install --root=$DESTDIR
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }