pick: Update from 2.0.1 to 2.0.2
[termux-packages] / packages / tsocks / build.sh
CommitLineData
0301524b
OS
1TERMUX_PKG_HOMEPAGE=http://tsocks.sf.net
2TERMUX_PKG_DESCRIPTION="transparent network access through a SOCKS 4 or 5 proxy"
3TERMUX_PKG_VERSION=1.8beta5
7c5fa0b8 4TERMUX_PKG_REVISION=1
0301524b
OS
5TERMUX_PKG_MAINTAINER="Oliver Schmidhauser @Neo-Oli"
6TERMUX_PKG_SRCURL=https://downloads.sourceforge.net/project/tsocks/tsocks/1.8%20beta%205/tsocks-${TERMUX_PKG_VERSION}.tar.gz
7TERMUX_PKG_SHA256=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347
8TERMUX_PKG_BUILD_IN_SRC=yes
9TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-conf=$TERMUX_PREFIX/etc/tsocks.conf"
10
ab438247
FF
11termux_step_post_extract_package() {
12 cp $TERMUX_PKG_SRCDIR/tsocks-1.8/* $TERMUX_PKG_SRCDIR/
13}
14
0301524b 15termux_step_pre_configure() {
ab438247 16 cp $TERMUX_PKG_SRCDIR/tsocks.conf.complex.example $TERMUX_PREFIX/etc/tsocks.conf
0301524b 17}