wok view python-rpi-pyglow/receipt @ rev 24793

updated libgpg-error and libgpg-error-dev (1.37 -> 1.44)
author Hans-G?nter Theisgen
date Mon Mar 21 15:45:38 2022 +0100 (2022-03-21)
parents 7b9df94be9aa
children 0262035dc1e7
line source
1 # SliTaz package receipt.
3 PACKAGE="python-rpi-pyglow"
4 VERSION="0.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Controlling the PiGlow from Python."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/benleb/PyGlow"
11 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz"
12 TAGS="raspberrypi rpi"
13 HOST_ARCH="arm"
15 DEPENDS="python python-smbus python-psutil python-rpi-gpio"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 pylibs="/usr/lib/python2.7"
27 mkdir -p $fs/${pylibs} $fs/usr/share $fs/usr/bin
28 cp -a ${src}/pyglow.py $fs/${pylibs}
29 cp -a ${src}/examples $fs/usr/share/pyglow
30 cp ${stuff}/vortex.py $fs/usr/share/pyglow
31 cp ${stuff}/pyglow $fs/usr/bin
32 }