Browse Source

tsocks: Fix building with tar strip-components

android-5
Fredrik Fornwall 7 years ago
parent
commit
ab4382472b
  1. 4
      packages/tsocks/build.sh

4
packages/tsocks/build.sh

@ -8,6 +8,10 @@ TERMUX_PKG_SHA256=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b3
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" --with-conf=$TERMUX_PREFIX/etc/tsocks.conf"
termux_step_post_extract_package() {
cp $TERMUX_PKG_SRCDIR/tsocks-1.8/* $TERMUX_PKG_SRCDIR/
}
termux_step_pre_configure() {
cp $TERMUX_PKG_SRCDIR/tsocks.conf.complex.example $TERMUX_PREFIX/etc/tsocks.conf
}

Loading…
Cancel
Save