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

updated lxc and lxc-dev (3.2.1 -> 4.0.12)
author Hans-G?nter Theisgen
date Wed Mar 30 17:49:17 2022 +0100 (2022-03-30)
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 }