wok-6.x view python-rpi-pyglow/receipt @ rev 23353
updated perl-io-socket-ssl (2.060 -> 2.068)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 09:53:02 2020 +0100 (2020-03-31) |
parents | 429355d87af5 |
children | 8eaf1d9eb640 |
line source
1 # SliTaz package receipt.
3 PACKAGE="python-rpi-pyglow"
4 VERSION="git-1"
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.bz2"
10 WEB_SITE="https://github.com/benleb/PyGlow"
11 WGET_URL="git|git://github.com/benleb/PyGlow.git"
12 TAGS="raspberrypi rpi"
13 HOST_ARCH="arm"
15 DEPENDS="python python-smbus python-psutil python-rpi-gpio"
17 # Rules to gen a SliTaz package suitable for Tazpkg.
18 genpkg_rules()
19 {
20 pylibs="/usr/lib/python2.7"
21 mkdir -p $fs/${pylibs} $fs/usr/share $fs/usr/bin
22 cp -a ${src}/pyglow.py $fs/${pylibs}
23 cp -a ${src}/examples $fs/usr/share/pyglow
24 cp ${stuff}/vortex.py $fs/usr/share/pyglow
25 cp ${stuff}/pyglow $fs/usr/bin
26 }