2020-10-30 20:41:08 +01:00
|
|
|
#!/bin/bash
|
2019-08-06 14:39:42 +02:00
|
|
|
|
2021-09-17 09:59:48 +02:00
|
|
|
PACKAGES=""
|
2019-08-11 13:52:38 +02:00
|
|
|
# Tier 1: requirements for the core build scripts in scripts/build/.
|
2021-09-17 09:59:48 +02:00
|
|
|
PACKAGES+=" clang" # Required for termux-elf-cleaner and C/C++ packages.
|
|
|
|
PACKAGES+=" file" # Used in termux_step_massage().
|
|
|
|
PACKAGES+=" gnupg" # Used in termux_get_repo_files() and build-package.sh.
|
|
|
|
PACKAGES+=" lzip" # Used by tar to extract *.tar.lz source archives.
|
|
|
|
PACKAGES+=" patch" # Used for applying patches on source code.
|
|
|
|
PACKAGES+=" python" # Used buildorder.py core script.
|
|
|
|
PACKAGES+=" unzip" # Used to extract *.zip source archives.
|
2019-08-11 13:52:38 +02:00
|
|
|
|
|
|
|
# Tier 2: requirements for building many other packages.
|
2019-08-16 01:51:05 +02:00
|
|
|
PACKAGES+=" asciidoc"
|
2020-01-01 16:40:07 +01:00
|
|
|
PACKAGES+=" asciidoctor"
|
2019-08-11 13:52:38 +02:00
|
|
|
PACKAGES+=" autoconf"
|
2019-08-06 14:39:42 +02:00
|
|
|
PACKAGES+=" automake"
|
|
|
|
PACKAGES+=" bc"
|
|
|
|
PACKAGES+=" bison"
|
|
|
|
PACKAGES+=" cmake"
|
|
|
|
PACKAGES+=" ed"
|
|
|
|
PACKAGES+=" flex"
|
|
|
|
PACKAGES+=" gettext"
|
|
|
|
PACKAGES+=" git"
|
|
|
|
PACKAGES+=" golang"
|
|
|
|
PACKAGES+=" gperf"
|
2019-08-16 14:39:08 +02:00
|
|
|
PACKAGES+=" help2man"
|
2019-08-06 14:39:42 +02:00
|
|
|
PACKAGES+=" libtool"
|
|
|
|
PACKAGES+=" m4"
|
2019-08-11 14:27:01 +02:00
|
|
|
PACKAGES+=" make" # Used for all Makefile-based projects.
|
2019-08-11 13:52:38 +02:00
|
|
|
PACKAGES+=" ninja" # Used by default to build all CMake projects.
|
2019-08-06 14:39:42 +02:00
|
|
|
PACKAGES+=" perl"
|
2019-08-11 13:52:38 +02:00
|
|
|
PACKAGES+=" pkg-config"
|
2019-08-06 14:39:42 +02:00
|
|
|
PACKAGES+=" protobuf"
|
|
|
|
PACKAGES+=" python2"
|
|
|
|
PACKAGES+=" rust"
|
|
|
|
PACKAGES+=" texinfo"
|
2019-08-10 17:56:12 +02:00
|
|
|
PACKAGES+=" valac"
|
2019-08-06 14:39:42 +02:00
|
|
|
|
|
|
|
apt update
|
|
|
|
apt dist-upgrade -y
|
|
|
|
apt install -y $PACKAGES
|