jbig2dec: run autogen.sh

This commit is contained in:
Leonid Pliushch 2020-04-05 21:54:01 +03:00
parent 83d5a7484b
commit 4799915c1a
2 changed files with 20 additions and 1 deletions

View File

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

View File

@ -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