wok annotate python-rpi-pyglow/receipt @ rev 18232

linld: add tobzimage (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 23 12:19:27 2015 +0200 (2015-07-23)
parents 429355d87af5
children 8eaf1d9eb640
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 }