wok-6.x annotate wiringpi-piface/receipt @ rev 23837
Up freetype (2.10.2), git (2.26.2), glpi (9.4.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jun 01 10:44:24 2020 +0000 (2020-06-01) |
parents | |
children |
rev | line source |
---|---|
pankso@16631 | 1 # SliTaz package receipt. |
pankso@16631 | 2 |
pankso@16631 | 3 PACKAGE="wiringpi-piface" |
pankso@16631 | 4 GITHASH="f18c8f7204d6354220fd6754578b3daa43734e1b" |
pankso@16631 | 5 VERSION="${GITHASH:0:7}" |
pankso@16631 | 6 CATEGORY="system-tools" |
pankso@16631 | 7 SHORT_DESC="The WiringPi PiFace examples." |
pankso@16631 | 8 MAINTAINER="pankso@slitaz.org" |
pankso@16631 | 9 LICENSE="LGPL" |
pankso@16631 | 10 WEB_SITE="http://wiringpi.com/" |
pankso@16631 | 11 TAGS="raspberrypi rpi" |
pankso@16631 | 12 HOST_ARCH="arm" |
pankso@16631 | 13 |
pankso@16631 | 14 WANTED="wiringpi" |
pankso@16631 | 15 |
pankso@16631 | 16 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@16631 | 17 genpkg_rules() |
pankso@16631 | 18 { |
pankso@16631 | 19 mkdir -p $fs/usr/lib/wiringpi/piface |
pankso@16631 | 20 cd ${src}/examples/PiFace |
pankso@16631 | 21 for ex in $(ls *.c) |
pankso@16631 | 22 do |
pankso@16631 | 23 cp -a ${ex%.c} $fs/usr/lib/wiringpi/piface/${ex%.c} |
pankso@16631 | 24 done |
pankso@16631 | 25 } |