wok-next annotate python-rpi-pyglow/receipt @ rev 20582
Up libjson-c (0.13.1-20180305)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 10:00:23 2018 +0300 (2018-04-14) |
parents | 429355d87af5 |
children | 92698cd69f34 |
rev | line source |
---|---|
pankso@16499 | 1 # SliTaz package receipt. |
pankso@16499 | 2 |
pankso@16499 | 3 PACKAGE="python-rpi-pyglow" |
pankso@16499 | 4 VERSION="git-1" |
pankso@16499 | 5 CATEGORY="system-tools" |
pankso@16499 | 6 SHORT_DESC="Controlling the PiGlow from Python." |
pankso@16499 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@16499 | 8 LICENSE="BSD" |
pankso@16499 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16499 | 10 WEB_SITE="https://github.com/benleb/PyGlow" |
pankso@16499 | 11 WGET_URL="git|git://github.com/benleb/PyGlow.git" |
pankso@16499 | 12 TAGS="raspberrypi rpi" |
pankso@16499 | 13 HOST_ARCH="arm" |
pankso@16499 | 14 |
pankso@16505 | 15 DEPENDS="python python-smbus python-psutil python-rpi-gpio" |
pankso@16499 | 16 |
pankso@16499 | 17 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16499 | 18 genpkg_rules() |
pankso@16499 | 19 { |
pankso@16499 | 20 pylibs="/usr/lib/python2.7" |
pankso@16499 | 21 mkdir -p $fs/${pylibs} $fs/usr/share $fs/usr/bin |
pankso@16499 | 22 cp -a ${src}/pyglow.py $fs/${pylibs} |
pankso@16499 | 23 cp -a ${src}/examples $fs/usr/share/pyglow |
pankso@16511 | 24 cp ${stuff}/vortex.py $fs/usr/share/pyglow |
pankso@16499 | 25 cp ${stuff}/pyglow $fs/usr/bin |
pankso@16499 | 26 } |