From 99887013831359656ac71ad56bb9f50b92479be6 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 7 May 2020 18:18:10 +0300 Subject: [PATCH] plzip: new package at 1.8 --- extra/plzip/build | 17 +++++++++++++++++ extra/plzip/checksums | 2 ++ extra/plzip/sources | 2 ++ extra/plzip/version | 1 + 4 files changed, 22 insertions(+) create mode 100755 extra/plzip/build create mode 100644 extra/plzip/checksums create mode 100644 extra/plzip/sources create mode 100644 extra/plzip/version diff --git a/extra/plzip/build b/extra/plzip/build new file mode 100755 index 00000000..b8461ac6 --- /dev/null +++ b/extra/plzip/build @@ -0,0 +1,17 @@ +#!/bin/sh -e + +# plzip is the only thing that will ever require +# this library. Let's simple build it and statically +# compile plzip. +(cd lzlib; ./configure; make) + +./configure \ + --prefix=/usr \ + CXXFLAGS="$CXXFLAGS -static -L$PWD/lzlib -I$PWD/lzlib" + +make +make DESTDIR="$1" install + +# Create the symlink for compatibility. We're using +# a multi-threaded implementation of lzip. +ln -s plzip "$1/usr/bin/lzip" diff --git a/extra/plzip/checksums b/extra/plzip/checksums new file mode 100644 index 00000000..d6dd9c6a --- /dev/null +++ b/extra/plzip/checksums @@ -0,0 +1,2 @@ +edafae3c15142ac0ebd84c2231ff81da4f68db58359a737e750f2780686c3612 plzip-1.8.tar.gz +2472f8d93830d0952b0c75f67e372d38c8f7c174dde2252369d5b20c87d3ba8e lzlib-1.9.tar.gz diff --git a/extra/plzip/sources b/extra/plzip/sources new file mode 100644 index 00000000..9e4eff4a --- /dev/null +++ b/extra/plzip/sources @@ -0,0 +1,2 @@ +http://download.savannah.gnu.org/releases/lzip/plzip/plzip-1.8.tar.gz +http://download.savannah.gnu.org/releases/lzip/lzlib/lzlib-1.9.tar.gz lzlib diff --git a/extra/plzip/version b/extra/plzip/version new file mode 100644 index 00000000..33fba2c3 --- /dev/null +++ b/extra/plzip/version @@ -0,0 +1 @@ +1.8 1