new package: plzip
Closes https://github.com/termux/termux-packages/issues/4108.
This commit is contained in:
parent
a1d184cf81
commit
f1ce48aae3
7
packages/lzlib/build.sh
Normal file
7
packages/lzlib/build.sh
Normal file
@ -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"
|
18
packages/lzlib/configure.patch
Normal file
18
packages/lzlib/configure.patch
Normal file
@ -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 ||
|
12
packages/plzip/Makefile.in.patch
Normal file
12
packages/plzip/Makefile.in.patch
Normal file
@ -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
|
||||
|
7
packages/plzip/build.sh
Normal file
7
packages/plzip/build.sh
Normal file
@ -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"
|
18
packages/plzip/configure.patch
Normal file
18
packages/plzip/configure.patch
Normal file
@ -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 ||
|
Loading…
Reference in New Issue
Block a user