2020-06-20 09:11:30 +00:00
|
|
|
#!/bin/sh
|
2019-11-21 15:36:04 +00:00
|
|
|
|
2020-06-20 09:11:30 +00:00
|
|
|
# This shell script automates getting the required build tools (apt install)
|
2019-11-21 15:36:04 +00:00
|
|
|
|
2020-06-20 09:11:30 +00:00
|
|
|
# set the shell environment variable 'UNATTENDED' to '--assume-yes' for
|
2019-11-21 15:54:21 +00:00
|
|
|
# unattended use (for example in the .travis.yml script)
|
|
|
|
|
2019-11-29 09:11:32 +00:00
|
|
|
echo ""
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo "INSTALLING Build Tools (using APT)"
|
|
|
|
echo " (UNATTENDED: [$UNATTENDED])"
|
|
|
|
echo "-------------------------------------------------------------------"
|
|
|
|
echo ""
|
|
|
|
|
2020-06-02 11:58:27 +00:00
|
|
|
set -ev
|
|
|
|
|
2019-11-25 22:06:17 +00:00
|
|
|
sudo apt-get update
|
2020-05-31 08:03:43 +00:00
|
|
|
sudo apt-get $UNATTENDED install \
|
2020-06-11 05:37:23 +00:00
|
|
|
sudo \
|
2020-06-09 11:52:18 +00:00
|
|
|
wget \
|
2020-05-31 08:03:43 +00:00
|
|
|
git \
|
|
|
|
pkg-config \
|
|
|
|
ruby \
|
|
|
|
autoconf \
|
|
|
|
libtool \
|
|
|
|
cmake \
|
|
|
|
make \
|
|
|
|
gcc \
|
|
|
|
g++ \
|
2020-06-01 07:49:30 +00:00
|
|
|
dpkg \
|
2020-06-01 16:12:22 +00:00
|
|
|
dpkg-dev \
|
2020-05-31 08:03:43 +00:00
|
|
|
gettext \
|
|
|
|
openjdk-8-jre-headless \
|
2020-06-09 11:52:18 +00:00
|
|
|
jq
|
2019-11-21 15:36:04 +00:00
|
|
|
|