Extract out ubuntu-setup.sh
This commit is contained in:
parent
96015885ef
commit
4e963c626f
@ -1,17 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Required setup for ubuntu (only tested on 15.04):
|
||||
# $ apt install asciidoc automake bison cmake flex gettext libglib2.0-dev help2man libc6-dev-i386 libcurl4-openssl-dev libgdk-pixbuf2.0-dev libncurses5-dev libtool lzip m4 mercurial pkg-config scons texinfo xmlto xutils-dev
|
||||
# where libc6-dev-i386 is needed by luajit host part of the build for <sys/cdefs.h>
|
||||
# xutils-dev provides 'makedepend' which openssl build uses
|
||||
# gettext provides 'msgfmt' which apt build uses
|
||||
# libcurl4-openssl-dev is needed by apt build
|
||||
# libglib2.0-dev provides 'glib-genmarshal' which glib build uses
|
||||
# libgdk-pixbuf2.0-dev provides 'gdk-pixbuf-query-loaders' which librsvg build uses
|
||||
# Required setup for mac (not regularly used, and may not build all packages):
|
||||
# $ port install asciidoc bison cmake flex gnutar help2man lzip mercurial p5-libwww-perl pkgconfig scons xmlto
|
||||
# where Busybox requires that sed is gsed: ln -s /opt/local/bin/gsed /opt/local/bin/sed
|
||||
|
||||
set -e -o pipefail -u
|
||||
|
||||
if [ "$#" -ne 1 ]; then echo "ERROR: Specify one argument!"; exit 1; fi
|
||||
|
28
ubuntu-setup.sh
Executable file
28
ubuntu-setup.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
PACKAGES=""
|
||||
PACKAGES="$PACKAGES asciidoc"
|
||||
PACKAGES="$PACKAGES automake"
|
||||
PACKAGES="$PACKAGES bison"
|
||||
PACKAGES="$PACKAGES cmake"
|
||||
PACKAGES="$PACKAGES flex"
|
||||
PACKAGES="$PACKAGES gettext" # Provides 'msgfmt' which the apt build uses
|
||||
PACKAGES="$PACKAGES help2man"
|
||||
PACKAGES="$PACKAGES libc6-dev-i386" # Needed by luajit host part of the build for <sys/cdefs.h>
|
||||
PACKAGES="$PACKAGES libcurl4-openssl-dev" # 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"
|
||||
PACKAGES="$PACKAGES lzip"
|
||||
PACKAGES="$PACKAGES m4"
|
||||
PACKAGES="$PACKAGES mercurial"
|
||||
PACKAGES="$PACKAGES pkg-config"
|
||||
PACKAGES="$PACKAGES scons"
|
||||
PACKAGES="$PACKAGES texinfo"
|
||||
PACKAGES="$PACKAGES xmlto"
|
||||
PACKAGES="$PACKAGES xutils-dev" # Provides u'makedepend' which the openssl build uses
|
||||
sudo apt install $PACKAGES
|
||||
|
||||
sudo mkdir -p /data/data/com.termux/files/usr
|
||||
sudo chown -R $USER /data
|
Loading…
Reference in New Issue
Block a user