2017-02-02 22:14:46 +01:00
|
|
|
#!/bin/bash
|
|
|
|
set -e -u
|
2015-07-27 22:12:06 +02:00
|
|
|
|
|
|
|
PACKAGES=""
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" asciidoc"
|
|
|
|
PACKAGES+=" automake"
|
|
|
|
PACKAGES+=" bison"
|
|
|
|
PACKAGES+=" curl" # Used for fetching sources.
|
2017-05-19 23:54:36 +02:00
|
|
|
PACKAGES+=" ed" # Used by bc
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" flex"
|
2018-09-12 07:07:49 +02:00
|
|
|
PACKAGES+=" g++-multilib" # Used by nodejs build for 32-bit arches.
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses.
|
2017-11-26 00:41:28 +01:00
|
|
|
PACKAGES+=" g++"
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" git" # Used by the neovim build.
|
2017-07-26 14:21:12 +02:00
|
|
|
PACKAGES+=" gperf" # Used by the fontconfig build.
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" help2man"
|
|
|
|
PACKAGES+=" intltool" # Used by qalc build.
|
|
|
|
PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
|
|
|
|
PACKAGES+=" libtool-bin"
|
2017-05-09 17:00:42 +02:00
|
|
|
PACKAGES+=" libncurses5-dev" # Used by mariadb for host build part.
|
2017-02-02 22:14:46 +01:00
|
|
|
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-07-26 16:13:45 +02:00
|
|
|
PACKAGES+=" python3-sphinx" # Needed by notmuch man page generation.
|
2017-11-26 00:41:28 +01:00
|
|
|
PACKAGES+=" ruby" # Needed to build ruby.
|
2017-02-02 22:14:46 +01:00
|
|
|
PACKAGES+=" scons"
|
|
|
|
PACKAGES+=" texinfo"
|
|
|
|
PACKAGES+=" xmlto"
|
|
|
|
PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses.
|
2017-08-11 13:25:55 +02:00
|
|
|
PACKAGES+=" libexpat1-dev" # Needed by ghostscript
|
|
|
|
PACKAGES+=" libjpeg-dev" # Needed by ghostscript
|
2017-08-31 20:16:35 +02:00
|
|
|
PACKAGES+=" gawk" # Needed by apr-util
|
2016-09-23 02:47:11 +02:00
|
|
|
|
2018-05-02 23:00:28 +02:00
|
|
|
sudo DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install -yq --no-install-recommends $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
|