wok view picamera/receipt @ rev 25033

giblib: modified configure parameter
author Hans-G?nter Theisgen
date Fri May 20 10:31:53 2022 +0100 (24 months ago)
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 }