| 1 | #!/bin/sh |
| 2 | |
| 3 | PACKAGES="" |
| 4 | PACKAGES="$PACKAGES asciidoc" |
| 5 | PACKAGES="$PACKAGES automake" |
| 6 | PACKAGES="$PACKAGES bison" |
| 7 | PACKAGES="$PACKAGES cmake" |
| 8 | PACKAGES="$PACKAGES curl" # Used for fetching sources. |
| 9 | PACKAGES="$PACKAGES flex" |
| 10 | PACKAGES="$PACKAGES gettext" # Provides 'msgfmt' which the apt build uses. |
| 11 | PACKAGES="$PACKAGES git" # Used by the neovim build. |
| 12 | PACKAGES="$PACKAGES help2man" |
| 13 | PACKAGES="$PACKAGES libc6-dev-i386" # Needed by luajit host part of the build for <sys/cdefs.h>. |
| 14 | PACKAGES="$PACKAGES libcurl4-openssl-dev" # XXX: Needed by apt build. |
| 15 | PACKAGES="$PACKAGES libgdk-pixbuf2.0-dev" # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses. |
| 16 | PACKAGES="$PACKAGES libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses. |
| 17 | PACKAGES="$PACKAGES libncurses5-dev" |
| 18 | PACKAGES="$PACKAGES libtool-bin" |
| 19 | PACKAGES="$PACKAGES lzip" |
| 20 | PACKAGES="$PACKAGES subversion" # Used by the netpbm build. |
| 21 | PACKAGES="$PACKAGES tar" |
| 22 | PACKAGES="$PACKAGES unzip" |
| 23 | PACKAGES="$PACKAGES m4" |
| 24 | PACKAGES="$PACKAGES openjdk-8-jdk" # Used for android-sdk. |
| 25 | PACKAGES="$PACKAGES pkg-config" |
| 26 | PACKAGES="$PACKAGES scons" |
| 27 | PACKAGES="$PACKAGES texinfo" |
| 28 | PACKAGES="$PACKAGES xmlto" |
| 29 | PACKAGES="$PACKAGES xutils-dev" # Provides 'makedepend' which the openssl build uses. |
| 30 | DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES |
| 31 | |
| 32 | sudo mkdir -p /data/data/com.termux/files/usr |
| 33 | sudo chown -R `whoami` /data |