d0a4e2bfa8adbbc362e4f1818e54afbfd3789f1a
[termux-packages] / scripts / setup-ubuntu.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 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 intltool" # Used by qalc build.
14 PACKAGES="$PACKAGES libc6-dev-i386" # Needed by luajit host part of the build for <sys/cdefs.h>.
15 PACKAGES="$PACKAGES libcurl4-openssl-dev" # XXX: Needed by apt build.
16 PACKAGES="$PACKAGES libgdk-pixbuf2.0-dev" # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses.
17 PACKAGES="$PACKAGES libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
18 PACKAGES="$PACKAGES libncurses5-dev"
19 PACKAGES="$PACKAGES libtool-bin"
20 PACKAGES="$PACKAGES lzip"
21 PACKAGES="$PACKAGES nasm" # Used by libjpeg-turbo for x86_64.
22 PACKAGES="$PACKAGES subversion" # Used by the netpbm build.
23 PACKAGES="$PACKAGES tar"
24 PACKAGES="$PACKAGES unzip"
25 PACKAGES="$PACKAGES m4"
26 PACKAGES="$PACKAGES openjdk-8-jdk" # Used for android-sdk.
27 PACKAGES="$PACKAGES pkg-config"
28 PACKAGES="$PACKAGES python-docutils" # For rst2man, used by mpv.
29 PACKAGES="$PACKAGES scons"
30 PACKAGES="$PACKAGES texinfo"
31 PACKAGES="$PACKAGES xmlto"
32 PACKAGES="$PACKAGES xutils-dev" # Provides 'makedepend' which the openssl build uses.
33 PACKAGES="$PACKAGES yasm" # Used by libvpx for x86_64 build.
34
35 DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES
36
37 sudo mkdir -p /data/data/com.termux/files/usr
38 sudo chown -R `whoami` /data