termux-packages/scripts/setup-ubuntu.sh
2017-01-15 19:44:15 +01:00

40 lines
1.7 KiB
Bash
Executable File

#!/bin/sh
PACKAGES=""
PACKAGES="$PACKAGES ant" # Used by jack and aptsigner.
PACKAGES="$PACKAGES asciidoc"
PACKAGES="$PACKAGES automake"
PACKAGES="$PACKAGES bison"
PACKAGES="$PACKAGES curl" # Used for fetching sources.
PACKAGES="$PACKAGES flex"
PACKAGES="$PACKAGES gettext" # Provides 'msgfmt' which the apt build uses.
PACKAGES="$PACKAGES git" # Used by the neovim build.
PACKAGES="$PACKAGES help2man"
PACKAGES="$PACKAGES intltool" # Used by qalc build.
PACKAGES="$PACKAGES libc6-dev-i386" # Needed by luajit host part of the build for <sys/cdefs.h>.
PACKAGES="$PACKAGES libcurl4-openssl-dev" # XXX: Needed by apt build.
PACKAGES="$PACKAGES libgdk-pixbuf2.0-dev" # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses.
PACKAGES="$PACKAGES libglib2.0-dev" # Provides 'glib-genmarshal' which the glib build uses.
PACKAGES="$PACKAGES libncurses5-dev"
PACKAGES="$PACKAGES libtool-bin"
PACKAGES="$PACKAGES lzip"
PACKAGES="$PACKAGES nasm" # Used by libjpeg-turbo for x86_64.
PACKAGES="$PACKAGES python3.6"
PACKAGES="$PACKAGES subversion" # Used by the netpbm build.
PACKAGES="$PACKAGES tar"
PACKAGES="$PACKAGES unzip"
PACKAGES="$PACKAGES m4"
PACKAGES="$PACKAGES openjdk-8-jdk" # Used for android-sdk.
PACKAGES="$PACKAGES pkg-config"
PACKAGES="$PACKAGES python-docutils" # For rst2man, used by mpv.
PACKAGES="$PACKAGES scons"
PACKAGES="$PACKAGES texinfo"
PACKAGES="$PACKAGES xmlto"
PACKAGES="$PACKAGES xutils-dev" # Provides 'makedepend' which the openssl build uses.
PACKAGES="$PACKAGES yasm" # Used by libvpx for x86_64 build.
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES
sudo mkdir -p /data/data/com.termux/files/usr
sudo chown -R `whoami` /data