lzip: Add package
This commit is contained in:
parent
84d033cfe8
commit
f8a019c557
5
packages/lzip/build.sh
Normal file
5
packages/lzip/build.sh
Normal file
@ -0,0 +1,5 @@
|
||||
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/lzip/lzip.html
|
||||
TERMUX_PKG_DESCRIPTION="Lossless data compressor similar to gzip and bzip2"
|
||||
TERMUX_PKG_VERSION=1.18~rc2
|
||||
TERMUX_PKG_BUILD_REVISION=1
|
||||
TERMUX_PKG_SRCURL=http://download.savannah.gnu.org/releases/lzip/lzip-1.18-rc2.tar.lz
|
28
packages/lzip/configure.patch
Normal file
28
packages/lzip/configure.patch
Normal file
@ -0,0 +1,28 @@
|
||||
diff -u -r ../lzip-1.18-rc2/configure ./configure
|
||||
--- ../lzip-1.18-rc2/configure 2016-03-07 12:24:54.000000000 -0500
|
||||
+++ ./configure 2016-04-13 20:06:04.652007406 -0400
|
||||
@@ -14,23 +14,12 @@
|
||||
LC_ALL=C
|
||||
export LC_ALL
|
||||
srcdir=
|
||||
-prefix=/usr/local
|
||||
+prefix=@TERMUX_PREFIX@
|
||||
exec_prefix='$(prefix)'
|
||||
bindir='$(exec_prefix)/bin'
|
||||
datarootdir='$(prefix)/share'
|
||||
infodir='$(datarootdir)/info'
|
||||
mandir='$(datarootdir)/man'
|
||||
-CXX=g++
|
||||
-CPPFLAGS=
|
||||
-CXXFLAGS='-Wall -W -O2'
|
||||
-LDFLAGS=
|
||||
-
|
||||
-# checking whether we are using GNU C++.
|
||||
-if /bin/sh -c "${CXX} --version" > /dev/null 2>&1 ; then true
|
||||
-else
|
||||
- CXX=c++
|
||||
- CXXFLAGS='-W -O2'
|
||||
-fi
|
||||
|
||||
# Loop over all args
|
||||
args=
|
Loading…
Reference in New Issue
Block a user