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" | |
c6f5b04a | 9 | PACKAGES+=" curl" # Used for fetching sources. |
eb5f02a8 | 10 | PACKAGES+=" ed" # Used by bc |
c6f5b04a | 11 | PACKAGES+=" flex" |
29162280 | 12 | PACKAGES+=" gcc-multilib" # Used by pforth build for 32-bit arches. |
c6f5b04a | 13 | PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses. |
29162280 | 14 | PACKAGES+=" g++" |
c6f5b04a | 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 FF |
19 | PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses. |
20 | PACKAGES+=" libtool-bin" | |
cbb88069 | 21 | PACKAGES+=" libncurses5-dev" # Used by mariadb for host build part. |
c6f5b04a FF |
22 | PACKAGES+=" lzip" |
23 | PACKAGES+=" python3.6" | |
c6f5b04a FF |
24 | PACKAGES+=" tar" |
25 | PACKAGES+=" unzip" | |
26 | PACKAGES+=" m4" | |
852e83ab | 27 | PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk. |
c6f5b04a | 28 | PACKAGES+=" pkg-config" |
852e83ab FF |
29 | PACKAGES+=" python3-docutils" # For rst2man, used by mpv. |
30 | PACKAGES+=" python3-setuptools" # Needed by at least asciinema. | |
ee6a231c | 31 | PACKAGES+=" python3-sphinx" # Needed by notmuch man page generation. |
29162280 | 32 | PACKAGES+=" ruby" # Needed to build ruby. |
c6f5b04a FF |
33 | PACKAGES+=" scons" |
34 | PACKAGES+=" texinfo" | |
29162280 | 35 | PACKAGES+=" texlive-binaries" # Needed by texlive build. |
c6f5b04a FF |
36 | PACKAGES+=" xmlto" |
37 | PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses. | |
91a5322f HG |
38 | PACKAGES+=" libexpat1-dev" # Needed by ghostscript |
39 | PACKAGES+=" libjpeg-dev" # Needed by ghostscript | |
6376c142 | 40 | |
29162280 | 41 | DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq --no-install-recommends $PACKAGES |
4e963c62 FF |
42 | |
43 | sudo mkdir -p /data/data/com.termux/files/usr | |
88183689 | 44 | sudo chown -R `whoami` /data |