chiark
/
gitweb
/
~mdw
/
termux-packages
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d06e101
)
tsocks: Fix building with tar strip-components
author
Fredrik Fornwall
<fredrik@fornwall.net>
Tue, 7 Nov 2017 04:48:30 +0000
(
05:48
+0100)
committer
Fredrik Fornwall
<fredrik@fornwall.net>
Tue, 7 Nov 2017 04:51:44 +0000
(
05:51
+0100)
packages/tsocks/build.sh
patch
|
blob
|
blame
|
history
diff --git
a/packages/tsocks/build.sh
b/packages/tsocks/build.sh
index 570c30dc49fef9f32ac9f557f50d8c5c9104ea5f..46f82d360c83dbeb6db77942729acf5aa7a73718 100644
(file)
--- a/
packages/tsocks/build.sh
+++ b/
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
+
cp $TERMUX_PKG_SRCDIR/tsocks.conf.complex.example $TERMUX_PREFIX/etc/tsocks.conf
}