privoxy: don't put toolchain parts into package
Issue: https://github.com/termux/termux-packages/issues/6369
This commit is contained in:
parent
3a36080b2b
commit
febdb16866
@ -1,8 +1,9 @@
|
||||
--- ../../build/privoxy/cache/privoxy-3.0.24-stable/GNUmakefile.in 2015-12-27 13:50:57.000000000 +0100
|
||||
+++ ./GNUmakefile.in 2016-09-13 23:30:12.518162391 +0200
|
||||
@@ -471,8 +471,8 @@
|
||||
diff -uNr privoxy-3.0.31-stable/GNUmakefile.in privoxy-3.0.31-stable.mod/GNUmakefile.in
|
||||
--- privoxy-3.0.31-stable/GNUmakefile.in 2021-01-30 19:24:01.000000000 +0200
|
||||
+++ privoxy-3.0.31-stable.mod/GNUmakefile.in 2021-02-10 13:22:14.643260510 +0200
|
||||
@@ -543,8 +543,8 @@
|
||||
mkdir -p doc/source/temp && cd doc/source/temp && $(RM) * ;\
|
||||
nsgmls ../privoxy-man-page.sgml | sgmlspl ../../../utils/docbook2man/docbook2man-spec.pl &&\
|
||||
$(NSGMLS) ../privoxy-man-page.sgml | sgmlspl ../../../utils/docbook2man/docbook2man-spec.pl &&\
|
||||
perl -pi.bak -e 's/ <URL:.*>//; s/\[ /\[/g' $(MAN_PAGE) ;\
|
||||
- perl -pi.bak -e "s/\[ /\[/g;s/á/\\\\['a]/g;s/é/\\\\['e]/g" $(MAN_PAGE); \
|
||||
- perl -pi.bak -e "s/ö/\\\\[:o]/g" $(MAN_PAGE); \
|
||||
@ -11,7 +12,16 @@
|
||||
perl -pi.bak -e 's/([ {])-([a-z])/$$1\\-$$2/g' $(MAN_PAGE); \
|
||||
perl -pi.bak -e 's/ --([a-z])/ \\-\\-$$1/g' $(MAN_PAGE); \
|
||||
perl -pi.bak -e 's/\\fB--/\\fB\\-\\-/g' $(MAN_PAGE); \
|
||||
@@ -872,41 +872,41 @@
|
||||
@@ -868,7 +868,7 @@
|
||||
@test -n "$(STRIP)" &&\
|
||||
$(ECHO) Installing $(PROGRAM) stripped executable to $(SBIN_DEST) ||\
|
||||
$(ECHO) Installing $(PROGRAM) executable to $(DESTDIR)$(SBIN_DEST)
|
||||
- $(INSTALL) $(INSTALL_P) $(STRIP) $(PROGRAM) $(DESTDIR)$(SBIN_DEST)
|
||||
+ $(INSTALL) $(INSTALL_P) $(PROGRAM) $(DESTDIR)$(SBIN_DEST)
|
||||
|
||||
@# Install the DOCS and man page. install-sh only does one file at a time.
|
||||
@# FIXME: only handles jpegs.
|
||||
@@ -927,41 +927,41 @@
|
||||
$(INSTALL) $(INSTALL_T) $$i $(DESTDIR)$(CONF_DEST)/templates ;\
|
||||
done
|
||||
|
||||
|
@ -3,6 +3,7 @@ TERMUX_PKG_DESCRIPTION="Non-caching web proxy with advanced filtering capabiliti
|
||||
TERMUX_PKG_LICENSE="GPL-2.0"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_VERSION=3.0.31
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_SRCURL=https://www.privoxy.org/sf-download-mirror/Sources/$TERMUX_PKG_VERSION%20%28stable%29/privoxy-$TERMUX_PKG_VERSION-stable-src.tar.gz
|
||||
TERMUX_PKG_SHA256=077729a3aac79222a4e8d88a650d9028d16fd4b0d6038da8f5f5e47120d004eb
|
||||
# Termux-services adds the run scripts to TERMUX_PKG_CONFFILES. Those ones can not be copied in termux_step_post_massage so setup special variable for that
|
||||
@ -25,14 +26,6 @@ termux_step_pre_configure() {
|
||||
|
||||
autoheader
|
||||
autoconf
|
||||
|
||||
# avoid 'aarch64-linux-android-strip': No such file or directory
|
||||
ln -s "$TERMUX_STANDALONE_TOOLCHAIN/bin/$STRIP" .
|
||||
}
|
||||
|
||||
termux_step_post_make_install() {
|
||||
# delete link created to avoid errors
|
||||
rm -f "$TERMUX_PREFIX/sbin/$STRIP"
|
||||
}
|
||||
|
||||
termux_step_post_massage() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user