termux-packages/scripts/setup-ubuntu.sh

40 lines
1.5 KiB
Bash
Raw Normal View History

2015-07-27 22:12:06 +02:00
#!/bin/sh
PACKAGES=""
PACKAGES="$PACKAGES asciidoc"
PACKAGES="$PACKAGES automake"
PACKAGES="$PACKAGES bison"
PACKAGES="$PACKAGES cmake"
2016-05-28 00:24:50 +02:00
PACKAGES="$PACKAGES curl" # Used for fetching sources.
2015-07-27 22:12:06 +02:00
PACKAGES="$PACKAGES flex"
2016-05-28 00:24:50 +02:00
PACKAGES="$PACKAGES gettext" # Provides 'msgfmt' which the apt build uses.
PACKAGES="$PACKAGES git" # Used by the neovim build.
2015-07-27 22:12:06 +02:00
PACKAGES="$PACKAGES help2man"
2016-05-28 00:24:50 +02:00
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.
2015-07-27 22:12:06 +02:00
PACKAGES="$PACKAGES libncurses5-dev"
2016-05-25 17:29:32 +02:00
PACKAGES="$PACKAGES libtool-bin"
2015-07-27 22:12:06 +02:00
PACKAGES="$PACKAGES lzip"
2016-05-25 17:29:32 +02:00
PACKAGES="$PACKAGES luarocks" # Used by the neovim build.
PACKAGES="$PACKAGES subversion" # Used by the netpbm build.
PACKAGES="$PACKAGES tar"
PACKAGES="$PACKAGES unzip"
2015-07-27 22:12:06 +02:00
PACKAGES="$PACKAGES m4"
PACKAGES="$PACKAGES openjdk-8-jdk" # Used for android-sdk.
2015-07-27 22:12:06 +02:00
PACKAGES="$PACKAGES pkg-config"
PACKAGES="$PACKAGES scons"
PACKAGES="$PACKAGES texinfo"
PACKAGES="$PACKAGES xmlto"
2016-05-28 00:24:50 +02:00
PACKAGES="$PACKAGES xutils-dev" # Provides 'makedepend' which the openssl build uses.
DEBIAN_FRONTEND=noninteractive sudo apt-get install -yq $PACKAGES
2015-07-27 22:12:06 +02:00
2016-05-25 17:29:32 +02:00
# Needed by neovim build:
2016-05-28 00:24:50 +02:00
sudo luarocks install lpeg
sudo luarocks install mpack
sudo luarocks install luabitop
2016-05-25 17:29:32 +02:00
2015-07-27 22:12:06 +02:00
sudo mkdir -p /data/data/com.termux/files/usr
2016-05-28 00:24:50 +02:00
sudo chown -R `whoami` /data