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 FF |
12 | PACKAGES+=" flex" |
13 | PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses. | |
14 | PACKAGES+=" git" # Used by the neovim build. | |
15 | PACKAGES+=" help2man" | |
16 | PACKAGES+=" intltool" # Used by qalc build. | |
c6f5b04a | 17 | PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses. |
a788b8a6 | 18 | PACKAGES+=" libgnutls28-dev" # Needed by native build step of mariadb. |
c6f5b04a | 19 | PACKAGES+=" libtool-bin" |
cbb88069 | 20 | PACKAGES+=" libncurses5-dev" # Used by mariadb for host build part. |
c6f5b04a FF |
21 | PACKAGES+=" lzip" |
22 | PACKAGES+=" python3.6" | |
c6f5b04a FF |
23 | PACKAGES+=" tar" |
24 | PACKAGES+=" unzip" | |
25 | PACKAGES+=" m4" | |
852e83ab | 26 | PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk. |
c6f5b04a | 27 | PACKAGES+=" pkg-config" |
852e83ab FF |
28 | PACKAGES+=" python3-docutils" # For rst2man, used by mpv. |
29 | PACKAGES+=" python3-setuptools" # Needed by at least asciinema. | |
c6f5b04a FF |
30 | PACKAGES+=" scons" |
31 | PACKAGES+=" texinfo" | |
32 | PACKAGES+=" xmlto" | |
33 | PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses. | |
6376c142 | 34 | |
88183689 | 35 | DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES |
4e963c62 FF |
36 | |
37 | sudo mkdir -p /data/data/com.termux/files/usr | |
88183689 | 38 | sudo chown -R `whoami` /data |