You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

40 lines
1.2 KiB

#!/data/data/com.termux/files/usr/bin/bash
# Tier 1: requirements for the core build scripts in scripts/build/.
PACKAGES="binutils-gold" # Part of binutils which is dependency of clang.
PACKAGES+=" clang" # Required to build termux-elf-cleaner as well as other
# C/C++ packages.
PACKAGES+=" file" # Used in termux_step_massage().
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.
# Tier 2: requirements for building many other packages.
PACKAGES+=" asciidoc"
PACKAGES+=" autoconf"
PACKAGES+=" automake"
PACKAGES+=" bc"
PACKAGES+=" bison"
PACKAGES+=" cmake"
PACKAGES+=" ed"
PACKAGES+=" flex"
PACKAGES+=" gettext"
PACKAGES+=" git"
PACKAGES+=" golang"
PACKAGES+=" gperf"
PACKAGES+=" libtool"
PACKAGES+=" m4"
PACKAGES+=" make" # Used for all Makefile-based projects.
PACKAGES+=" ninja" # Used by default to build all CMake projects.
PACKAGES+=" perl"
PACKAGES+=" pkg-config"
PACKAGES+=" protobuf"
PACKAGES+=" python2"
PACKAGES+=" rust"
PACKAGES+=" texinfo"
PACKAGES+=" valac"
apt update
apt dist-upgrade -y
apt install -y $PACKAGES