wok view wiringpi-piface/receipt @ rev 19778
Up tazpkg (944)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 22 04:08:12 2017 +0200 (2017-02-22) |
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 }