wok-next diff wiringpi/receipt @ rev 20861
gnutls: up (3.5.18); add libpsl and publicsuffix-list; sed: up (4.5); tar: up (1.30); tcpdump: up (4.9.2); wget: up (1.19.5); xz: up (5.2.4)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jun 28 00:30:02 2018 +0300 (2018-06-28) |
parents | 819e017f397d |
children |
line diff
1.1 --- a/wiringpi/receipt Mon May 12 06:41:14 2014 +0000 1.2 +++ b/wiringpi/receipt Thu Jun 28 00:30:02 2018 +0300 1.3 @@ -1,4 +1,4 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="wiringpi" 1.8 GITHASH="f18c8f7204d6354220fd6754578b3daa43734e1b" 1.9 @@ -13,7 +13,7 @@ 1.10 TAGS="raspberrypi rpi" 1.11 HOST_ARCH="arm" 1.12 1.13 -RELATED="wiringpi-dev wiringpi-piglow wiringpi-piface" 1.14 +SPLIT="wiringpi wiringpi-dev wiringpi-piglow wiringpi-piface" 1.15 1.16 # Rules to configure and make the package. 1.17 compile_rules() 1.18 @@ -72,7 +72,37 @@ 1.19 # Rules to gen a SliTaz package suitable for Tazpkg. 1.20 genpkg_rules() 1.21 { 1.22 - mkdir -p $fs/usr/lib 1.23 - cp -a ${install}/usr/lib/*.so* $fs/usr/lib 1.24 - cp -a ${install}/usr/bin $fs/usr 1.25 + case $PACKAGE in 1.26 + wiringpi) 1.27 + mkdir -p $fs/usr/lib 1.28 + cp -a ${install}/usr/lib/*.so* $fs/usr/lib 1.29 + cp -a ${install}/usr/bin $fs/usr 1.30 + ;; 1.31 + wiringpi-dev) 1.32 + CAT="system-tools|The WiringPi headers files." 1.33 + TAGS="raspberrypi rpi" 1.34 + HOST_ARCH="arm" 1.35 + mkdir -p $fs/usr 1.36 + cp -a ${install}/usr/include $fs/usr 1.37 + ;; 1.38 + wiringpi-piface) 1.39 + CAT="system-tools|The WiringPi PiFace examples." 1.40 + TAGS="raspberrypi rpi" 1.41 + HOST_ARCH="arm" 1.42 + mkdir -p $fs/usr/lib/wiringpi/piface 1.43 + cd ${src}/examples/PiFace 1.44 + for ex in $(ls *.c) 1.45 + do 1.46 + cp -a ${ex%.c} $fs/usr/lib/wiringpi/piface/${ex%.c} 1.47 + done 1.48 + ;; 1.49 + wiringpi-piglow) 1.50 + CAT="system-tools|The WiringPi Piglow utility (useful for SHell scripts)." 1.51 + WEB_SITE="http://wiringpi.com/" 1.52 + TAGS="raspberrypi rpi" 1.53 + HOST_ARCH="arm" 1.54 + mkdir -p $fs/usr/bin 1.55 + cp -a ${src}/examples/PiGlow/piglow $fs/usr/bin 1.56 + ;; 1.57 + esac 1.58 }