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