2019-11-21 15:36:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2020-06-02 11:34:11 +00:00
|
|
|
set -ev
|
|
|
|
|
2019-11-21 15:36:04 +00:00
|
|
|
# This bash script automates getting the required build tools (apt install)
|
|
|
|
|
2019-11-21 15:54:21 +00:00
|
|
|
# set the bash environment variable 'UNATTENDED' to '--assume-yes' for
|
|
|
|
# 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 ""
|
|
|
|
|
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 \
|
|
|
|
aptitude \
|
|
|
|
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 \
|
|
|
|
jq \
|
2019-11-21 15:54:21 +00:00
|
|
|
tree
|
2019-11-21 15:36:04 +00:00
|
|
|
|