ligo/scripts/install_native_dependencies.sh

34 lines
517 B
Bash
Raw Normal View History

#!/bin/sh
set -e
2019-10-24 17:04:16 +04:00
. /etc/os-release
2019-10-24 17:04:16 +04:00
if [ $ID = arch ]
then
pacman -Sy
sudo pacman -S --noconfirm \
libevdev \
perl \
pkg-config \
gmp \
hidapi \
m4 \
libcap \
bubblewrap \
2019-12-17 00:32:10 +04:00
rsync \
git
2019-10-24 17:04:16 +04:00
else
apt-get update -qq
apt-get -y -qq install \
libev-dev \
perl \
pkg-config \
libgmp-dev \
libhidapi-dev \
m4 \
libcap-dev \
bubblewrap \
2019-12-17 00:32:10 +04:00
rsync \
git
2019-10-24 17:04:16 +04:00
fi