wok-6.x annotate wiringpi-piface/receipt @ rev 22400
update: expat 2.2.6 (2018) -> 2.2.9 (security fixes: CVE-2019-15903, CVE-2018-20843; ...) -> also, new site: the WGET_URL could be improved
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Sun Dec 08 11:10:33 2019 +0000 (2019-12-08) |
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 } |