Add hidapi deps

ectool uses hidapi, which requires cc and pkg-config to be available.

This fixes building ectool on a minimal install system.
This commit is contained in:
Tim Crawford
2021-05-21 13:57:40 -06:00
committed by Jeremy Soller
parent 1b539e1206
commit 3fe0e2f4e4

View File

@ -20,9 +20,12 @@ if [[ "${ID}" =~ "debian" ]] || [[ "${ID_LIKE}" =~ "debian" ]]; then
avr-libc \ avr-libc \
avrdude \ avrdude \
curl \ curl \
gcc \
gcc-avr \ gcc-avr \
libc-dev \
libudev-dev \ libudev-dev \
make \ make \
pkgconf \
sdcc \ sdcc \
xxd xxd
elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then
@ -32,6 +35,7 @@ elif [[ "${ID}" =~ "fedora" ]] || [[ "${ID_LIKE}" =~ "fedora" ]]; then
avr-libc \ avr-libc \
avrdude \ avrdude \
curl \ curl \
gcc \
make \ make \
sdcc \ sdcc \
systemd-devel \ systemd-devel \
@ -43,7 +47,9 @@ elif [[ "${ID}" =~ "arch" ]] || [[ "${ID_LIKE}" =~ "arch" ]]; then
avr-libc \ avr-libc \
avrdude \ avrdude \
curl \ curl \
gcc \
make \ make \
pkgconf \
sdcc \ sdcc \
systemd-libs \ systemd-libs \
vim vim