| 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 help2man" |
| 12 | PACKAGES="$PACKAGES libc6-dev-i386" # Needed by luajit host part of the build for <sys/cdefs.h> |
| 13 | PACKAGES="$PACKAGES libcurl4-openssl-dev" # Needed by apt build |
| 14 | PACKAGES="$PACKAGES libgdk-pixbuf2.0-dev" # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses |
| 15 | PACKAGES="$PACKAGES libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses |
| 16 | PACKAGES="$PACKAGES libncurses5-dev" |
| 17 | PACKAGES="$PACKAGES libtool" |
| 18 | PACKAGES="$PACKAGES lzip" |
| 19 | PACKAGES="$PACKAGES m4" |
| 20 | PACKAGES="$PACKAGES mercurial" |
| 21 | PACKAGES="$PACKAGES pkg-config" |
| 22 | PACKAGES="$PACKAGES scons" |
| 23 | PACKAGES="$PACKAGES texinfo" |
| 24 | PACKAGES="$PACKAGES xmlto" |
| 25 | PACKAGES="$PACKAGES xutils-dev" # Provides u'makedepend' which the openssl build uses |
| 26 | sudo apt install $PACKAGES |
| 27 | |
| 28 | sudo mkdir -p /data/data/com.termux/files/usr |
| 29 | sudo chown -R $USER /data |