wok-current view wiringpi-piface/receipt @ rev 20044
Improvements - Thanks Paul
author | Leonardo Laporte <hackdorte@yandex.com> |
---|---|
date | Thu Aug 31 03:57:08 2017 -0300 (2017-08-31) |
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 }