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