Leonid Plyushch
5 years ago
No known key found for this signature in database
GPG Key ID: 45F2964132545795
5 changed files with
62 additions and
0 deletions
-
packages/lzlib/build.sh
-
packages/lzlib/configure.patch
-
packages/plzip/Makefile.in.patch
-
packages/plzip/build.sh
-
packages/plzip/configure.patch
|
|
@ -0,0 +1,7 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/lzip/lzlib.html |
|
|
|
TERMUX_PKG_DESCRIPTION="A library providing in-memory LZMA compression and decompression functions" |
|
|
|
TERMUX_PKG_LICENSE="GPL-3.0" |
|
|
|
TERMUX_PKG_VERSION=1.11 |
|
|
|
TERMUX_PKG_SRCURL=http://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-$TERMUX_PKG_VERSION.tar.gz |
|
|
|
TERMUX_PKG_SHA256=6c5c5f8759d1ab7c4c3c53788ea2d9daad04aeddcf338226893f8ff134914d36 |
|
|
|
TERMUX_PKG_DEPENDS="lzlib" |
|
|
@ -0,0 +1,18 @@ |
|
|
|
diff -uNr lzlib-1.11/configure lzlib-1.11.mod/configure
|
|
|
|
--- lzlib-1.11/configure 2019-01-02 13:51:19.000000000 +0200
|
|
|
|
+++ lzlib-1.11.mod/configure 2019-09-23 19:34:31.423708870 +0300
|
|
|
|
@@ -28,10 +28,10 @@
|
|
|
|
infodir='$(datarootdir)/info' |
|
|
|
libdir='$(exec_prefix)/lib' |
|
|
|
mandir='$(datarootdir)/man' |
|
|
|
-CC=gcc
|
|
|
|
-CPPFLAGS=
|
|
|
|
-CFLAGS='-Wall -W -O2'
|
|
|
|
-LDFLAGS=
|
|
|
|
+CC?=gcc
|
|
|
|
+CPPFLAGS?=
|
|
|
|
+CFLAGS?='-Wall -W -O2'
|
|
|
|
+LDFLAGS?=
|
|
|
|
|
|
|
|
# checking whether we are using GNU C. |
|
|
|
/bin/sh -c "${CC} --version" > /dev/null 2>&1 || |
|
|
@ -0,0 +1,12 @@ |
|
|
|
diff -uNr plzip-1.8/Makefile.in plzip-1.8.mod/Makefile.in
|
|
|
|
--- plzip-1.8/Makefile.in 2018-10-12 00:56:58.000000000 +0300
|
|
|
|
+++ plzip-1.8.mod/Makefile.in 2019-09-23 19:39:16.088047518 +0300
|
|
|
|
@@ -4,7 +4,7 @@
|
|
|
|
INSTALL_PROGRAM = $(INSTALL) -m 755 |
|
|
|
INSTALL_DATA = $(INSTALL) -m 644 |
|
|
|
INSTALL_DIR = $(INSTALL) -d -m 755 |
|
|
|
-LIBS = -llz -lpthread
|
|
|
|
+LIBS = -llz
|
|
|
|
SHELL = /bin/sh |
|
|
|
CAN_RUN_INSTALLINFO = $(SHELL) -c "install-info --version" > /dev/null 2>&1 |
|
|
|
|
|
|
@ -0,0 +1,7 @@ |
|
|
|
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/lzip/plzip.html |
|
|
|
TERMUX_PKG_DESCRIPTION="A massively parallel lossless data compressor based on the lzlib compression library" |
|
|
|
TERMUX_PKG_LICENSE="GPL-2.0" |
|
|
|
TERMUX_PKG_VERSION=1.8 |
|
|
|
TERMUX_PKG_SRCURL=http://download.savannah.gnu.org/releases/lzip/plzip/plzip-$TERMUX_PKG_VERSION.tar.gz |
|
|
|
TERMUX_PKG_SHA256=edafae3c15142ac0ebd84c2231ff81da4f68db58359a737e750f2780686c3612 |
|
|
|
TERMUX_PKG_DEPENDS="lzlib" |
|
|
@ -0,0 +1,18 @@ |
|
|
|
diff -uNr plzip-1.8/configure plzip-1.8.mod/configure
|
|
|
|
--- plzip-1.8/configure 2019-01-04 20:33:44.000000000 +0200
|
|
|
|
+++ plzip-1.8.mod/configure 2019-09-23 19:37:59.464411919 +0300
|
|
|
|
@@ -21,10 +21,10 @@
|
|
|
|
datarootdir='$(prefix)/share' |
|
|
|
infodir='$(datarootdir)/info' |
|
|
|
mandir='$(datarootdir)/man' |
|
|
|
-CXX=g++
|
|
|
|
-CPPFLAGS=
|
|
|
|
-CXXFLAGS='-Wall -W -O2'
|
|
|
|
-LDFLAGS=
|
|
|
|
+CXX?=g++
|
|
|
|
+CPPFLAGS?=
|
|
|
|
+CXXFLAGS?='-Wall -W -O2'
|
|
|
|
+LDFLAGS?=
|
|
|
|
|
|
|
|
# checking whether we are using GNU C++. |
|
|
|
/bin/sh -c "${CXX} --version" > /dev/null 2>&1 || |