wok-current diff wiringpi-piface/receipt @ rev 17788
Up: nspr 4.10.8
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Sat Mar 14 21:47:18 2015 +0000 (2015-03-14) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/wiringpi-piface/receipt Sat Mar 14 21:47:18 2015 +0000 1.3 @@ -0,0 +1,25 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="wiringpi-piface" 1.7 +GITHASH="f18c8f7204d6354220fd6754578b3daa43734e1b" 1.8 +VERSION="${GITHASH:0:7}" 1.9 +CATEGORY="system-tools" 1.10 +SHORT_DESC="The WiringPi PiFace examples." 1.11 +MAINTAINER="pankso@slitaz.org" 1.12 +LICENSE="LGPL" 1.13 +WEB_SITE="http://wiringpi.com/" 1.14 +TAGS="raspberrypi rpi" 1.15 +HOST_ARCH="arm" 1.16 + 1.17 +WANTED="wiringpi" 1.18 + 1.19 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.20 +genpkg_rules() 1.21 +{ 1.22 + mkdir -p $fs/usr/lib/wiringpi/piface 1.23 + cd ${src}/examples/PiFace 1.24 + for ex in $(ls *.c) 1.25 + do 1.26 + cp -a ${ex%.c} $fs/usr/lib/wiringpi/piface/${ex%.c} 1.27 + done 1.28 +}