wok-next annotate wiringpi-piface/receipt @ rev 19872
Up palemoon (27.5.0)
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Sep 27 20:45:12 2017 +0200 (2017-09-27) |
parents | |
children |
rev | line source |
---|---|
pankso@16631 | 1 # SliTaz package receipt. |
pankso@16631 | 2 |
pankso@16631 | 3 PACKAGE="wiringpi-piface" |
pankso@16631 | 4 GITHASH="f18c8f7204d6354220fd6754578b3daa43734e1b" |
pankso@16631 | 5 VERSION="${GITHASH:0:7}" |
pankso@16631 | 6 CATEGORY="system-tools" |
pankso@16631 | 7 SHORT_DESC="The WiringPi PiFace examples." |
pankso@16631 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16631 | 9 LICENSE="LGPL" |
pankso@16631 | 10 WEB_SITE="http://wiringpi.com/" |
pankso@16631 | 11 TAGS="raspberrypi rpi" |
pankso@16631 | 12 HOST_ARCH="arm" |
pankso@16631 | 13 |
pankso@16631 | 14 WANTED="wiringpi" |
pankso@16631 | 15 |
pankso@16631 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16631 | 17 genpkg_rules() |
pankso@16631 | 18 { |
pankso@16631 | 19 mkdir -p $fs/usr/lib/wiringpi/piface |
pankso@16631 | 20 cd ${src}/examples/PiFace |
pankso@16631 | 21 for ex in $(ls *.c) |
pankso@16631 | 22 do |
pankso@16631 | 23 cp -a ${ex%.c} $fs/usr/lib/wiringpi/piface/${ex%.c} |
pankso@16631 | 24 done |
pankso@16631 | 25 } |