chiark / gitweb /
10bea9fdfa73d4d7ae998f5b75a82c44b9f20d7c
[termux-packages] / scripts / ubuntu-setup.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 libc6-dev-i386"             # Needed by luajit host part of the build for <sys/cdefs.h>
14 PACKAGES="$PACKAGES libcurl4-openssl-dev"       # XXX: Needed by apt build
15 PACKAGES="$PACKAGES libgdk-pixbuf2.0-dev"       # Provides 'gkd-pixbuf-query-loaders' which the librsvg build uses
16 PACKAGES="$PACKAGES libglib2.0-dev"             # Provides 'glib-genmarshal' which the glib build uses
17 PACKAGES="$PACKAGES libncurses5-dev"
18 PACKAGES="$PACKAGES libtool-bin"
19 PACKAGES="$PACKAGES lzip"
20 PACKAGES="$PACKAGES luarocks"                   # Used by the neovim build.
21 PACKAGES="$PACKAGES subversion"                 # Used by the netpbm build.
22 PACKAGES="$PACKAGES tar"
23 PACKAGES="$PACKAGES unzip"
24 PACKAGES="$PACKAGES m4"
25 PACKAGES="$PACKAGES openjdk-8-jdk"              # Used for android-sdk.
26 PACKAGES="$PACKAGES pkg-config"
27 PACKAGES="$PACKAGES scons"
28 PACKAGES="$PACKAGES texinfo"
29 PACKAGES="$PACKAGES xmlto"
30 PACKAGES="$PACKAGES xutils-dev"                 # Provides u'makedepend' which the openssl build uses
31 sudo apt-get install -y $PACKAGES
32
33 # Needed by neovim build:
34 luarocks install lpeg
35 luarocks install mpack
36 luarocks install luabitop
37
38 sudo mkdir -p /data/data/com.termux/files/usr
39 sudo chown -R $USER /data