Commit | Line | Data |
---|---|---|
c6f5b04a FF |
1 | #!/bin/bash |
2 | set -e -u | |
4e963c62 FF |
3 | |
4 | PACKAGES="" | |
ba198479 | 5 | PACKAGES+=" ant" # Used by apksigner. |
c6f5b04a FF |
6 | PACKAGES+=" asciidoc" |
7 | PACKAGES+=" automake" | |
8 | PACKAGES+=" bison" | |
9 | PACKAGES+=" clang" # Used by golang, useful to have same compiler building. | |
10 | PACKAGES+=" curl" # Used for fetching sources. | |
eb5f02a8 | 11 | PACKAGES+=" ed" # Used by bc |
c6f5b04a | 12 | PACKAGES+=" flex" |
16c697b3 | 13 | PACKAGES+=" g++-multilib" # For building nodejs-current mkpeephole for 32-bit arm and i686. |
c6f5b04a FF |
14 | PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses. |
15 | PACKAGES+=" git" # Used by the neovim build. | |
38d6235c | 16 | PACKAGES+=" gperf" # Used by the fontconfig build. |
c6f5b04a FF |
17 | PACKAGES+=" help2man" |
18 | PACKAGES+=" intltool" # Used by qalc build. | |
c6f5b04a | 19 | PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses. |
a788b8a6 | 20 | PACKAGES+=" libgnutls28-dev" # Needed by native build step of mariadb. |
c6f5b04a | 21 | PACKAGES+=" libtool-bin" |
cbb88069 | 22 | PACKAGES+=" libncurses5-dev" # Used by mariadb for host build part. |
c6f5b04a FF |
23 | PACKAGES+=" lzip" |
24 | PACKAGES+=" python3.6" | |
c6f5b04a FF |
25 | PACKAGES+=" tar" |
26 | PACKAGES+=" unzip" | |
27 | PACKAGES+=" m4" | |
852e83ab | 28 | PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk. |
c6f5b04a | 29 | PACKAGES+=" pkg-config" |
852e83ab FF |
30 | PACKAGES+=" python3-docutils" # For rst2man, used by mpv. |
31 | PACKAGES+=" python3-setuptools" # Needed by at least asciinema. | |
ee6a231c | 32 | PACKAGES+=" python3-sphinx" # Needed by notmuch man page generation. |
c6f5b04a FF |
33 | PACKAGES+=" scons" |
34 | PACKAGES+=" texinfo" | |
35 | PACKAGES+=" xmlto" | |
36 | PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses. | |
91a5322f HG |
37 | PACKAGES+=" libexpat1-dev" # Needed by ghostscript |
38 | PACKAGES+=" libjpeg-dev" # Needed by ghostscript | |
6376c142 | 39 | |
88183689 | 40 | DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES |
4e963c62 FF |
41 | |
42 | sudo mkdir -p /data/data/com.termux/files/usr | |
88183689 | 43 | sudo chown -R `whoami` /data |