2017-09-22 00:29:36 +02:00
|
|
|
TERMUX_PKG_HOMEPAGE=http://tsocks.sf.net
|
|
|
|
TERMUX_PKG_DESCRIPTION="transparent network access through a SOCKS 4 or 5 proxy"
|
2019-01-21 13:53:58 +01:00
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0"
|
2020-01-13 02:00:07 +01:00
|
|
|
TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
|
2017-09-22 00:29:36 +02:00
|
|
|
TERMUX_PKG_VERSION=1.8beta5
|
2019-08-16 02:40:10 +02:00
|
|
|
TERMUX_PKG_REVISION=3
|
2017-09-22 00:29:36 +02:00
|
|
|
TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/tsocks/tsocks/1.8%20beta%205/tsocks-${TERMUX_PKG_VERSION}.tar.gz
|
|
|
|
TERMUX_PKG_SHA256=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347
|
2019-08-12 17:28:41 +02:00
|
|
|
TERMUX_PKG_BUILD_IN_SRC=true
|
2017-09-22 00:29:36 +02:00
|
|
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-conf=$TERMUX_PREFIX/etc/tsocks.conf"
|
|
|
|
|
2017-11-07 05:48:30 +01:00
|
|
|
termux_step_post_extract_package() {
|
|
|
|
cp $TERMUX_PKG_SRCDIR/tsocks-1.8/* $TERMUX_PKG_SRCDIR/
|
|
|
|
}
|
|
|
|
|
2017-09-22 00:29:36 +02:00
|
|
|
termux_step_pre_configure() {
|
2017-11-07 05:48:30 +01:00
|
|
|
cp $TERMUX_PKG_SRCDIR/tsocks.conf.complex.example $TERMUX_PREFIX/etc/tsocks.conf
|
2017-09-22 00:29:36 +02:00
|
|
|
}
|