termux-packages/scripts/setup-termux.sh
Butta 034874f693 build-package: switch the archiver for debian packages over to the one from the NDK, which gets on-device builds working again
Also, remove the binutils-gold dependency for on-device builds, since we switched
everything over to lld now, just like the latest NDK 23.
2021-11-14 12:42:51 +05:30

43 lines
1.2 KiB
Bash
Executable File

#!/bin/bash
PACKAGES=""
# Tier 1: requirements for the core build scripts in scripts/build/.
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.
# Tier 2: requirements for building many other packages.
PACKAGES+=" asciidoc"
PACKAGES+=" asciidoctor"
PACKAGES+=" autoconf"
PACKAGES+=" automake"
PACKAGES+=" bc"
PACKAGES+=" bison"
PACKAGES+=" cmake"
PACKAGES+=" ed"
PACKAGES+=" flex"
PACKAGES+=" gettext"
PACKAGES+=" git"
PACKAGES+=" golang"
PACKAGES+=" gperf"
PACKAGES+=" help2man"
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