wok annotate picamera/receipt @ rev 24472
updated dd_rescue (1.99.8 -> 1.99.11)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 17 15:46:03 2022 +0100 (2022-02-17) |
parents | 3ab4ece3450e |
children |
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 |
pascal@24391 | 17 # What is the latest version available today? |
pascal@24391 | 18 current_version() |
pascal@24391 | 19 { |
pascal@24391 | 20 wget -O - https://pypi.org/project/$PACKAGE/ 2>/dev/null | \ |
pascal@24391 | 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||;q" |
pascal@24391 | 22 } |
pascal@24391 | 23 |
pankso@16467 | 24 # Rules to configure and make the package. |
pankso@16467 | 25 compile_rules() |
pankso@16467 | 26 { |
pankso@16467 | 27 python setup.py install --root=$DESTDIR |
pankso@16467 | 28 } |
pankso@16467 | 29 |
pankso@16467 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16467 | 31 genpkg_rules() |
pankso@16467 | 32 { |
pankso@16467 | 33 cp -a $install/usr $fs |
pankso@16467 | 34 } |
pankso@16467 | 35 |