wok-current view wiringpi-piface/receipt @ rev 19870

linld: fix progname
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 30 15:54:03 2017 +0200 (2017-03-30)
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 }