setup-ubuntu.sh: Install libgnutls-dev
[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
FF
12PACKAGES+=" flex"
13PACKAGES+=" gettext" # Provides 'msgfmt' which the apt build uses.
14PACKAGES+=" git" # Used by the neovim build.
15PACKAGES+=" help2man"
16PACKAGES+=" intltool" # Used by qalc build.
c6f5b04a 17PACKAGES+=" libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
a788b8a6 18PACKAGES+=" libgnutls28-dev" # Needed by native build step of mariadb.
c6f5b04a 19PACKAGES+=" libtool-bin"
cbb88069 20PACKAGES+=" libncurses5-dev" # Used by mariadb for host build part.
c6f5b04a
FF
21PACKAGES+=" lzip"
22PACKAGES+=" python3.6"
c6f5b04a
FF
23PACKAGES+=" tar"
24PACKAGES+=" unzip"
25PACKAGES+=" m4"
852e83ab 26PACKAGES+=" openjdk-8-jdk-headless" # Used for android-sdk.
c6f5b04a 27PACKAGES+=" pkg-config"
852e83ab
FF
28PACKAGES+=" python3-docutils" # For rst2man, used by mpv.
29PACKAGES+=" python3-setuptools" # Needed by at least asciinema.
c6f5b04a
FF
30PACKAGES+=" scons"
31PACKAGES+=" texinfo"
32PACKAGES+=" xmlto"
33PACKAGES+=" xutils-dev" # Provides 'makedepend' which the openssl build uses.
6376c142 34
88183689 35DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES
4e963c62
FF
36
37sudo mkdir -p /data/data/com.termux/files/usr
88183689 38sudo chown -R `whoami` /data