2019-11-21 15:36:04 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
# 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
|
|
|
|
sudo apt-get $UNATTENDED install \
|
|
|
|
aptitude \
|
|
|
|
git \
|
|
|
|
pkg-config \
|
|
|
|
ruby \
|
|
|
|
autoconf \
|
|
|
|
libtool \
|
|
|
|
cmake \
|
|
|
|
make \
|
|
|
|
gcc \
|
|
|
|
g++ \
|
|
|
|
gettext \
|
|
|
|
openjdk-8-jre-headless \
|
2019-11-28 18:27:43 +00:00
|
|
|
jq \
|
2019-11-21 15:54:21 +00:00
|
|
|
tree
|
2019-11-21 15:36:04 +00:00
|
|
|
|