system/lrzip: Updated for version 0.551.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Dave Margell 2011-01-10 19:34:37 -06:00 committed by Robby Workman
parent 3cbeb9e18a
commit 19eb609918
3 changed files with 18 additions and 22 deletions

View file

@ -1,12 +1,10 @@
lrzip (Long Range ZIP or Lzma RZIP) is a file compression program designed
to do particularly well on very large files containing long distance redundancy.
Long Range ZIP or Lzma RZIP
lrztar is a wrapper for lrzip to simplify compression and decompression
of directories. lrzip uses an extended version of rzip which does a first pass
long distance redundancy reduction. The lrzip modifications make it scale
according to memory size. The data is then either:
1. Compressed by lzma (default), zpaq, lzo, gzip or bzip2.
2. Left uncompressed and rzip prepared.
This is a compression program optimised for large files. The larger the file
and the more memory you have, the better the compression advantage this will
provide, especially once the files are larger than 100MB. The advantage can
be chosen to be either size (much smaller than bzip2) or speed (much faster
than bzip2).
The major disadvantages are:
1. The main lrzip application only works on single files so it requires the
@ -14,10 +12,15 @@ The major disadvantages are:
2. It requires a lot of memory to get the best performance out of, and is not
really usable (for compression) with less than 256MB. Decompression requires
less ram and works on smaller ram machines.
3. It works on stdin/out but in a very inefficient manner generating temporary
3. Only stdin in compression works well. The other combinations of
stdin/stdout work but in a very inefficient manner generating temporary
files on disk so this method of using lrzip is not recommended.
4. Files compressed on a 64 bit OS with a compression window greater than 20
(2 GB) may not decompress on a 32 bit OS.
See the file README.benchmarks for performance examples and what kind of data
lrzip is very good with.
NOT BACKWARD COMPATIBLE WARNING
All files created with lrzip 0.50+ are not backward compatible with versions
prior to 0.50. v0.50 can read earlier generated files.

View file

@ -5,16 +5,14 @@
# Written by Dave Margell <dmargell@gmail.com>
PRGNAM=lrzip
VERSION=${VERSION:-0.46}
VERSION=${VERSION:-0.551}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
# Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@ -61,18 +59,13 @@ CXXFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--build=$ARCH-slackware-linux
make
make install DESTDIR=$PKG
# Fix some bad symlinks.
rm -f $PKG/usr/bin/{lrunzip,lrzuntar}
ln -sf lrzip $PKG/usr/bin/lrunzip
ln -sf lrztar $PKG/usr/bin/lrzuntar
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Docs are already in place. Just add our SlackBuild.
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,8 +1,8 @@
PRGNAM="lrzip"
VERSION="0.46"
VERSION="0.551"
HOMEPAGE="http://ck.kolivas.org/apps/lrzip/"
DOWNLOAD="http://ck.kolivas.org/apps/lrzip/lrzip-0.46.tar.bz2"
MD5SUM="a6729f71e3d6e02dd691805f30ed1fca"
DOWNLOAD="http://ck.kolivas.org/apps/lrzip/lrzip-0.551.tar.bz2"
MD5SUM="3d13db0c100c3bde18477c53579edcff"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Dave Margell"