Browse Source

lzip: Update from 1.18 to 1.19

android-5
Fredrik Fornwall 8 years ago
parent
commit
03af002b8b
  1. 8
      packages/lzip/build.sh
  2. 27
      packages/lzip/configure.patch

8
packages/lzip/build.sh

@ -1,5 +1,5 @@
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/lzip/lzip.html
TERMUX_PKG_HOMEPAGE=http://www.nongnu.org/lzip/
TERMUX_PKG_DESCRIPTION="Lossless data compressor similar to gzip and bzip2"
TERMUX_PKG_VERSION=1.18
TERMUX_PKG_SRCURL=http://download.savannah.gnu.org/releases/lzip/lzip-1.18.tar.lz
TERMUX_PKG_SHA256=f579f3873a1bfa821b38f8d723e3016f69d22ff451ce9f0c61144db595fe914a
TERMUX_PKG_VERSION=1.19
TERMUX_PKG_SRCURL=http://download.savannah.gnu.org/releases/lzip/lzip-${TERMUX_PKG_VERSION}.tar.lz
TERMUX_PKG_SHA256=c8b7a098a42429d34ca1504afcdfd9aeeaf249469d52039df05d0b5a2ad7ac77

27
packages/lzip/configure.patch

@ -1,14 +1,7 @@
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'
diff -u -r ../lzip-1.19/configure ./configure
--- ../lzip-1.19/configure 2017-04-13 12:52:40.000000000 +0200
+++ ./configure 2017-05-02 10:44:44.249358716 +0200
@@ -20,17 +20,10 @@
datarootdir='$(prefix)/share'
infodir='$(datarootdir)/info'
mandir='$(datarootdir)/man'
@ -18,11 +11,15 @@ diff -u -r ../lzip-1.18-rc2/configure ./configure
-LDFLAGS=
-
-# checking whether we are using GNU C++.
-if /bin/sh -c "${CXX} --version" > /dev/null 2>&1 ; then true
-else
-/bin/sh -c "${CXX} --version" > /dev/null 2>&1 ||
- {
- CXX=c++
- CXXFLAGS='-W -O2'
-fi
- CXXFLAGS=-O2
- }
+CXX?=g++
+CPPFLAGS?=
+CXXFLAGS?='-Wall -W -O2'
+LDFLAGS?=
# Loop over all args
args=

Loading…
Cancel
Save