mirror of
https://github.com/pdf2htmlEX/pdf2htmlEX.git
synced 2024-12-22 04:50:09 +00:00
36 lines
1.0 KiB
Bash
Executable File
36 lines
1.0 KiB
Bash
Executable File
#!/bin/bash
|
|
|
|
# This bash script automates getting the required build tools (apt install)
|
|
|
|
# set the bash environment variable 'UNATTENDED' to '--assume-yes' for
|
|
# unattended use (for example in the .travis.yml script)
|
|
|
|
echo ""
|
|
echo "-------------------------------------------------------------------"
|
|
echo "INSTALLING Build Tools (using APT)"
|
|
echo " (UNATTENDED: [$UNATTENDED])"
|
|
echo "-------------------------------------------------------------------"
|
|
echo ""
|
|
|
|
set -ev
|
|
|
|
sudo apt-get update
|
|
sudo apt-get $UNATTENDED install \
|
|
aptitude \
|
|
git \
|
|
pkg-config \
|
|
ruby \
|
|
autoconf \
|
|
libtool \
|
|
cmake \
|
|
make \
|
|
gcc \
|
|
g++ \
|
|
dpkg \
|
|
dpkg-dev \
|
|
gettext \
|
|
openjdk-8-jre-headless \
|
|
jq \
|
|
tree
|
|
|