Browse Source

jbig2dec: run autogen.sh

master
Leonid Plyushch 5 years ago
parent
commit
9c69103977
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 5
      packages/jbig2dec/build.sh
  2. 16
      packages/jbig2dec/no-auto-configure.patch

5
packages/jbig2dec/build.sh

@ -8,4 +8,7 @@ TERMUX_PKG_SHA256=9e19775237350e299c422b7b91b0c045e90ffa4ba66abf28c8fb5eb005772f
TERMUX_PKG_DEPENDS="libpng"
TERMUX_PKG_BREAKS="jbig2dec-dev"
TERMUX_PKG_REPLACES="jbig2dec-dev"
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_pre_configure() {
./autogen.sh
}

16
packages/jbig2dec/no-auto-configure.patch

@ -0,0 +1,16 @@
diff -uNr jbig2dec-0.18/autogen.sh jbig2dec-0.18.mod/autogen.sh
--- jbig2dec-0.18/autogen.sh 2020-03-12 14:26:37.000000000 +0200
+++ jbig2dec-0.18.mod/autogen.sh 2020-04-05 21:53:20.165790568 +0300
@@ -169,12 +169,3 @@
echo " autoconf"
autoconf
-
-if test -z "$*"; then
- echo "I am going to run ./configure with no arguments - if you wish "
- echo "to pass any to it, please specify them on the $0 command line."
-else
- echo "running ./configure $@"
-fi
-
-$srcdir/configure "$@" && echo
Loading…
Cancel
Save