wok-current annotate python-rpi-pyglow/receipt @ rev 16499
Addpython-rpi-pyglow with custom pyglow tool to easily test Pyglow (tested by myself)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Apr 23 19:22:10 2014 +0200 (2014-04-23) |
parents | |
children | 429355d87af5 |
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@16499 | 15 DEPENDS="python python-smbus 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@16499 | 24 cp ${stuff}/pyglow $fs/usr/bin |
pankso@16499 | 25 } |