wok-next view wiringpi-piface/receipt @ rev 17381

Add incron
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 26 14:59:55 2014 +0100 (2014-11-26)
parents
children
line source
1 # SliTaz package receipt.
3 PACKAGE="wiringpi-piface"
4 GITHASH="f18c8f7204d6354220fd6754578b3daa43734e1b"
5 VERSION="${GITHASH:0:7}"
6 CATEGORY="system-tools"
7 SHORT_DESC="The WiringPi PiFace examples."
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="LGPL"
10 WEB_SITE="http://wiringpi.com/"
11 TAGS="raspberrypi rpi"
12 HOST_ARCH="arm"
14 WANTED="wiringpi"
16 # Rules to gen a SliTaz package suitable for Tazpkg.
17 genpkg_rules()
18 {
19 mkdir -p $fs/usr/lib/wiringpi/piface
20 cd ${src}/examples/PiFace
21 for ex in $(ls *.c)
22 do
23 cp -a ${ex%.c} $fs/usr/lib/wiringpi/piface/${ex%.c}
24 done
25 }