2019-03-18 22:26:57 +02:00
TERMUX_PKG_HOMEPAGE = https://github.com/rofl0r/proxychains-ng
TERMUX_PKG_DESCRIPTION = "A hook preloader that allows to redirect TCP traffic of existing dynamically linked programs through one or more SOCKS or HTTP proxies"
TERMUX_PKG_LICENSE = "GPL-2.0"
2020-12-20 15:16:34 +02:00
TERMUX_PKG_MAINTAINER = "@termux"
2022-02-28 11:15:50 +09:00
TERMUX_PKG_VERSION = 4.16
2019-03-18 22:26:57 +02:00
TERMUX_PKG_SRCURL = https://github.com/rofl0r/proxychains-ng/archive/v$TERMUX_PKG_VERSION .tar.gz
2022-02-28 11:15:50 +09:00
TERMUX_PKG_SHA256 = 5f66908044cc0c504f4a7e618ae390c9a78d108d3f713d7839e440693f43b5e7
2021-10-04 13:43:31 +03:00
TERMUX_PKG_AUTO_UPDATE = true
2019-08-12 18:28:41 +03:00
TERMUX_PKG_BUILD_IN_SRC = true
2019-03-18 22:26:57 +02:00
2019-08-08 15:25:54 +03:00
termux_step_pre_configure( ) {
# Certain packages are not safe to build on device because their
# build.sh script deletes specific files in $TERMUX_PREFIX.
2019-08-12 18:28:41 +03:00
if $TERMUX_ON_DEVICE_BUILD ; then
2019-08-08 15:25:54 +03:00
termux_error_exit " Package ' $TERMUX_PKG_NAME ' is not safe for on-device builds. "
fi
}
2019-03-18 22:26:57 +02:00
termux_step_post_make_install( ) {
# Remove conf file from previous build, otherwise nothing will be done and it won't be included in the package
rm -f " $TERMUX_PREFIX " /etc/proxychains.conf
make install-config
}