From 691e9dc4c1e3e052a533d11530a7a828ff7c36b5 Mon Sep 17 00:00:00 2001 From: neiviv-ui Date: Tue, 25 May 2021 21:00:49 +0200 Subject: [PATCH] add termux dependencies in configure.sh --- configure.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/configure.sh b/configure.sh index a902631..552f8b0 100755 --- a/configure.sh +++ b/configure.sh @@ -35,8 +35,12 @@ if [[ ! -z "$ACCEPT_ANY" ]]; then fi # Check dependencies for binutils and GCC - -if command -v apt >/dev/null 2>&1; then +if command -v pkg >/dev/null 2>&1; then + deps="libmpfr libmpc libgmp libpng flex g++ git texinfo xz-utils" + pm=pkg + pm_has="dpkg -s" + pm_install="pkg install" +elif command -v apt >/dev/null 2>&1; then deps="libmpfr-dev libmpc-dev libgmp-dev libpng-dev libppl-dev flex g++ git texinfo xz-utils" pm=apt pm_has="dpkg -s"