17 lines
369 B
Bash
17 lines
369 B
Bash
#!/bin/sh
|
|
|
|
NAME=wiringpi
|
|
VERSION=nightly
|
|
UPSTREAM=https://github.com/WiringPi/WiringPi.git
|
|
. soft
|
|
|
|
# I tried final_official_2.50 but it wouldn't build
|
|
# (ld: error: duplicate symbol: comDat)
|
|
# depends on
|
|
# sudo
|
|
|
|
git -C "$SRC" checkout 2.61-1
|
|
sed -i .orig -e /^sudo/d "$SRC"/build
|
|
sed -i .orig -e s/root\.root/root\:root/ "$SRC"/gpio
|
|
sh -c 'cd "SRC"; sudo=sudo ./build'
|