wok-next view python-rpi-pyglow/receipt @ rev 20970
Typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 14 08:02:55 2018 +0300 (2018-09-14) |
parents | 7b9df94be9aa |
children |
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 WEB_SITE="https://github.com/benleb/PyGlow"
10 HOST_ARCH="arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="git|git://github.com/benleb/PyGlow.git"
14 TAGS="raspberrypi rpi"
16 DEPENDS="python python-smbus python-psutil python-rpi-gpio"
18 # Rules to gen a SliTaz package suitable for Tazpkg.
19 genpkg_rules()
20 {
21 pylibs="/usr/lib/python2.7"
22 mkdir -p $fs/${pylibs} $fs/usr/share $fs/usr/bin
23 cp -a ${src}/pyglow.py $fs/${pylibs}
24 cp -a ${src}/examples $fs/usr/share/pyglow
25 cp ${stuff}/vortex.py $fs/usr/share/pyglow
26 cp ${stuff}/pyglow $fs/usr/bin
27 }