wok view wiringpi-piface/receipt @ rev 19140

Up ffmpeg (3.0.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 18 18:14:33 2016 +0200 (2016-05-18)
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 }