diff --git a/packages/libzopfli/Makefile.patch b/packages/libzopfli/Makefile.patch index 79bad33fd..505601366 100644 --- a/packages/libzopfli/Makefile.patch +++ b/packages/libzopfli/Makefile.patch @@ -23,7 +23,7 @@ diff -u -r ../zopfli-zopfli-1.0.1/Makefile ./Makefile +install: $(CC) $(ZOPFLILIB_SRC) $(CFLAGS) -fPIC -c - $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o libzopfli.so.1.0.1 -+ $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) -shared -Wl,-soname,libzopfli.so.1 -o @TERMUX_PREFIX@/lib/libzopfli.so -lm ++ $(CC) $(ZOPFLILIB_OBJ) $(CFLAGS) -shared -o @TERMUX_PREFIX@/lib/libzopfli.so -lm # ZopfliPNG binary zopflipng: diff --git a/packages/libzopfli/build.sh b/packages/libzopfli/build.sh index d8eab21d6..7ed2e6564 100644 --- a/packages/libzopfli/build.sh +++ b/packages/libzopfli/build.sh @@ -1,6 +1,7 @@ TERMUX_PKG_HOMEPAGE=https://github.com/google/zopfli TERMUX_PKG_DESCRIPTION="New zlib compatible compressor library" TERMUX_PKG_VERSION=1.0.1 +TERMUX_PKG_BUILD_REVISION=1 TERMUX_PKG_SRCURL=https://github.com/google/zopfli/archive/zopfli-${TERMUX_PKG_VERSION}.tar.gz TERMUX_PKG_FOLDERNAME=zopfli-zopfli-${TERMUX_PKG_VERSION} TERMUX_PKG_BUILD_IN_SRC=yes