2017-02-02 22:14:46 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -e -u
|
2015-07-27 22:12:06 +02:00
|
|
|
|
|
|
|
PACKAGES=""
|
2017-03-20 21:03:00 +01:00
|
|
|
PACKAGES+=" ant" # Used by apksigner.
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" asciidoc"
|
|
|
|
PACKAGES+=" automake"
|
|
|
|
PACKAGES+=" bison"
|
|
|
|
PACKAGES+=" clang" # Used by golang, useful to have same compiler building.
|
|
|
|
PACKAGES+=" curl" # Used for fetching sources.
|
|
|
|
PACKAGES+=" flex"
|
|
|
|
PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses.
|
|
|
|
PACKAGES+=" git" # Used by the neovim build.
|
|
|
|
PACKAGES+=" help2man"
|
|
|
|
PACKAGES+=" intltool" # Used by qalc build.
|
|
|
|
PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
|
|
|
|
PACKAGES+=" libtool-bin"
|
|
|
|
PACKAGES+=" lzip"
|
|
|
|
PACKAGES+=" python3.6"
|
|
|
|
PACKAGES+=" tar"
|
|
|
|
PACKAGES+=" unzip"
|
|
|
|
PACKAGES+=" m4"
|
2017-04-20 09:00:02 +02:00
|
|
|
PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk.
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" pkg-config"
|
2017-04-20 09:00:02 +02:00
|
|
|
PACKAGES+=" python3-docutils" # For rst2man, used by mpv.
|
|
|
|
PACKAGES+=" python3-setuptools" # Needed by at least asciinema.
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" scons"
|
|
|
|
PACKAGES+=" texinfo"
|
|
|
|
PACKAGES+=" xmlto"
|
|
|
|
PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses.
|
2016-09-23 02:47:11 +02:00
|
|
|
|
2016-05-28 00:24:50 +02:00
|
|
|
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES
|
2015-07-27 22:12:06 +02:00
|
|
|
|
|
|
|
sudo mkdir -p /data/data/com.termux/files/usr
|
2016-05-28 00:24:50 +02:00
|
|
|
sudo chown -R `whoami` /data
|