chiark / gitweb /
setup-ubuntu.sh: Add g++-multilib
[termux-packages] / scripts / setup-ubuntu.sh
CommitLineData
c6f5b04a
FF
1#!/bin/bash
2set -e -u
4e963c62
FF
3
4PACKAGES=""
ba198479 5PACKAGES+=" ant" # Used by apksigner.
c6f5b04a
FF
6PACKAGES+=" asciidoc"
7PACKAGES+=" automake"
8PACKAGES+=" bison"
9PACKAGES+=" clang" # Used by golang, useful to have same compiler building.
10PACKAGES+=" curl" # Used for fetching sources.
eb5f02a8 11PACKAGES+=" ed" # Used by bc
c6f5b04a 12PACKAGES+=" flex"
16c697b3 13PACKAGES+=" g++-multilib" # For building nodejs-current mkpeephole for 32-bit arm and i686.
c6f5b04a
FF
14PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses.
15PACKAGES+=" git" # Used by the neovim build.
38d6235c 16PACKAGES+=" gperf" # Used by the fontconfig build.
c6f5b04a
FF
17PACKAGES+=" help2man"
18PACKAGES+=" intltool" # Used by qalc build.
c6f5b04a 19PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
a788b8a6 20PACKAGES+=" libgnutls28-dev" # Needed by native build step of mariadb.
c6f5b04a 21PACKAGES+=" libtool-bin"
cbb88069 22PACKAGES+=" libncurses5-dev" # Used by mariadb for host build part.
c6f5b04a
FF
23PACKAGES+=" lzip"
24PACKAGES+=" python3.6"
c6f5b04a
FF
25PACKAGES+=" tar"
26PACKAGES+=" unzip"
27PACKAGES+=" m4"
852e83ab 28PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk.
c6f5b04a 29PACKAGES+=" pkg-config"
852e83ab
FF
30PACKAGES+=" python3-docutils" # For rst2man, used by mpv.
31PACKAGES+=" python3-setuptools" # Needed by at least asciinema.
ee6a231c 32PACKAGES+=" python3-sphinx" # Needed by notmuch man page generation.
c6f5b04a
FF
33PACKAGES+=" scons"
34PACKAGES+=" texinfo"
35PACKAGES+=" xmlto"
36PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses.
6376c142 37
88183689 38DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES
4e963c62
FF
39
40sudo mkdir -p /data/data/com.termux/files/usr
88183689 41sudo chown -R `whoami` /data