diff --git a/root-packages/aircrack-ng/build.sh b/root-packages/aircrack-ng/build.sh index 917aa76fe..4132c8070 100644 --- a/root-packages/aircrack-ng/build.sh +++ b/root-packages/aircrack-ng/build.sh @@ -8,6 +8,6 @@ TERMUX_PKG_REVISION=5 TERMUX_PKG_SRCURL=https://github.com/aircrack-ng/aircrack-ng/archive/${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=ed241ea423cab1c86e7882e901d5200d91b2f97d7efd703b0acf17742be47f9b TERMUX_PKG_DEPENDS="libc++, libnl, openssl, libpcap, pciutils" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true # TODO: in termux-packages, add support for these packages: shtool, libstdc, gmake diff --git a/root-packages/dnsmasq/build.sh b/root-packages/dnsmasq/build.sh index 011633c27..8704e0411 100644 --- a/root-packages/dnsmasq/build.sh +++ b/root-packages/dnsmasq/build.sh @@ -4,4 +4,4 @@ TERMUX_PKG_LICENSE="GPL-3.0" TERMUX_PKG_VERSION=2.80 TERMUX_PKG_SRCURL=http://www.thekelleys.org.uk/dnsmasq/dnsmasq-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=cdaba2785e92665cf090646cba6f94812760b9d7d8c8d0cfb07ac819377a63bb -TERMUX_PKG_BUILD_IN_SRC=YES +TERMUX_PKG_BUILD_IN_SRC=true diff --git a/root-packages/ethtool/build.sh b/root-packages/ethtool/build.sh index 30ac72c59..04ca5ab43 100644 --- a/root-packages/ethtool/build.sh +++ b/root-packages/ethtool/build.sh @@ -6,4 +6,4 @@ TERMUX_PKG_VERSION=5.1 TERMUX_PKG_SRCURL=https://mirrors.edge.kernel.org/pub/software/network/ethtool/ethtool-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=65feac1fec6565290b7784b2efc925dee900a9b11202ce7c6c30a967c3da3387 TERMUX_PKG_DEPENDS="libnl" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true diff --git a/root-packages/frida-server/build.sh b/root-packages/frida-server/build.sh index 553ea03bb..a607eee4f 100644 --- a/root-packages/frida-server/build.sh +++ b/root-packages/frida-server/build.sh @@ -8,9 +8,9 @@ _MICRO_VERSION=12 TERMUX_PKG_VERSION=${_MAJOR_VERSION}.${_MINOR_VERSION}.${_MICRO_VERSION} TERMUX_PKG_SRCURL=https://github.com/frida/frida.git TERMUX_PKG_DEPENDS="libiconv" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_EXTRA_MAKE_ARGS="ANDROID_NDK_ROOT=$HOME/lib/android-ndk" -TERMUX_PKG_HOSTBUILD=yes +TERMUX_PKG_HOSTBUILD=true termux_step_extract_package() { local CHECKED_OUT_FOLDER=$TERMUX_PKG_CACHEDIR/checkout-$TERMUX_PKG_VERSION diff --git a/root-packages/hping3/build.sh b/root-packages/hping3/build.sh index be94e79dc..d0e8c12a4 100644 --- a/root-packages/hping3/build.sh +++ b/root-packages/hping3/build.sh @@ -6,7 +6,7 @@ TERMUX_PKG_VERSION=3.0.0 TERMUX_PKG_SRCURL=http://www.hping.org/hping3-20051105.tar.gz TERMUX_PKG_SHA256=f5a671a62a11dc8114fa98eade19542ed1c3aa3c832b0e572ca0eb1a5a4faee8 TERMUX_PKG_DEPENDS="libandroid-shmem, libpcap, tcl" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true termux_step_post_configure () { export LDFLAGS+=" -landroid-shmem" diff --git a/root-packages/iw/build.sh b/root-packages/iw/build.sh index aaeb17bb4..0d870c68d 100644 --- a/root-packages/iw/build.sh +++ b/root-packages/iw/build.sh @@ -6,4 +6,4 @@ TERMUX_PKG_VERSION=5.0.1 TERMUX_PKG_SRCURL=https://mirrors.edge.kernel.org/pub/software/network/iw/iw-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=1e38ea794a223525b2ea7fe78fd14f2a56121e62e21ba5f9dbe8c494b35b5c0d TERMUX_PKG_DEPENDS="libnl" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true diff --git a/root-packages/libaio/build.sh b/root-packages/libaio/build.sh index c09f79d25..663ab1008 100644 --- a/root-packages/libaio/build.sh +++ b/root-packages/libaio/build.sh @@ -7,4 +7,4 @@ TERMUX_PKG_SRCURL=http://ftp.de.debian.org/debian/pool/main/liba/libaio/libaio_$ TERMUX_PKG_SHA256=f69e5800425f4ea957426693ac09f9896bb993db5490fa021644454adcc72a32 TERMUX_PKG_BREAKS="libaio-dev" TERMUX_PKG_REPLACES="libaio-dev" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true diff --git a/root-packages/libdevmapper/build.sh b/root-packages/libdevmapper/build.sh index 64d954970..5bab6f345 100644 --- a/root-packages/libdevmapper/build.sh +++ b/root-packages/libdevmapper/build.sh @@ -9,7 +9,7 @@ TERMUX_PKG_SHA256=4025a23ec9b15c2cb7486d151c29dc953b75efc4d452cfe9dbbc7c0fac8e80 TERMUX_PKG_DEPENDS="libandroid-support, libaio, readline" TERMUX_PKG_BREAKS="libdevmapper-dev" TERMUX_PKG_REPLACES="libdevmapper-dev" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true TERMUX_PKG_API_LEVEL=23 termux_step_make() { diff --git a/root-packages/nethogs/build.sh b/root-packages/nethogs/build.sh index da0135572..737c447a1 100644 --- a/root-packages/nethogs/build.sh +++ b/root-packages/nethogs/build.sh @@ -9,7 +9,7 @@ TERMUX_PKG_SHA256=846560132c7162fe5f90bd6264b877f7a7c132b4aa13bf56763292ef09150b TERMUX_PKG_FOLDERNAME=nethogs-${TERMUX_PKG_VERSION} TERMUX_PKG_DEPENDS="libc++, ncurses, libpcap" TERMUX_PKG_EXTRA_MAKE_ARGS="nethogs" -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure () { export CPPFLAGS="$CPPFLAGS -Wno-c++11-narrowing" diff --git a/root-packages/pciutils/build.sh b/root-packages/pciutils/build.sh index f8c7931b6..4f1c1039e 100644 --- a/root-packages/pciutils/build.sh +++ b/root-packages/pciutils/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="GPL-2.0" TERMUX_PKG_VERSION=3.6.2 TERMUX_PKG_SRCURL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/pciutils-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_SHA256=30005e341bb0ffa734174e592dc8f0dd928e1c9368b859715812149ed91d8f93 -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true termux_step_pre_configure () { local ARCH=${TERMUX_ARCH} diff --git a/root-packages/tshark/build.sh b/root-packages/tshark/build.sh index 48ca6ab23..131e6b4c4 100644 --- a/root-packages/tshark/build.sh +++ b/root-packages/tshark/build.sh @@ -14,7 +14,7 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" -DENABLE_LUA=OFF -DHAVE_LINUX_IF_BONDING_H=1 " -TERMUX_PKG_HOSTBUILD=yes +TERMUX_PKG_HOSTBUILD=true termux_step_host_build() { gcc $TERMUX_PKG_SRCDIR/tools/lemon/lemon.c -o lemon diff --git a/root-packages/wireless-tools/build.sh b/root-packages/wireless-tools/build.sh index 8a43c91df..7155330eb 100644 --- a/root-packages/wireless-tools/build.sh +++ b/root-packages/wireless-tools/build.sh @@ -5,7 +5,7 @@ TERMUX_PKG_VERSION=30pre9 TERMUX_PKG_REVISION=1 TERMUX_PKG_SRCURL=https://hewlettpackard.github.io/wireless-tools/wireless_tools.30.pre9.tar.gz TERMUX_PKG_SHA256=abd9c5c98abf1fdd11892ac2f8a56737544fe101e1be27c6241a564948f34c63 -TERMUX_PKG_BUILD_IN_SRC=yes +TERMUX_PKG_BUILD_IN_SRC=true termux_step_make () { make \