diff options
author | Dave Margell <dmargell@gmail.com> | 2011-01-10 19:34:37 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-01-10 19:34:37 -0600 |
commit | 19eb609918e33900643f64a81061f14bba32e86d (patch) | |
tree | a36d8868f61b85b3119293ef2a6e2d14e50c737c /system | |
parent | 3cbeb9e18a0071632a06ac0b7930ab7f8dfeebc1 (diff) | |
download | slackbuilds-19eb609918e33900643f64a81061f14bba32e86d.tar.gz |
system/lrzip: Updated for version 0.551.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r-- | system/lrzip/README | 21 | ||||
-rw-r--r-- | system/lrzip/lrzip.SlackBuild | 13 | ||||
-rw-r--r-- | system/lrzip/lrzip.info | 6 |
3 files changed, 18 insertions, 22 deletions
diff --git a/system/lrzip/README b/system/lrzip/README index 7d23e7d25f..57f846a7f1 100644 --- a/system/lrzip/README +++ b/system/lrzip/README @@ -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. diff --git a/system/lrzip/lrzip.SlackBuild b/system/lrzip/lrzip.SlackBuild index 947029d38f..02a5fa3bd6 100644 --- a/system/lrzip/lrzip.SlackBuild +++ b/system/lrzip/lrzip.SlackBuild @@ -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 diff --git a/system/lrzip/lrzip.info b/system/lrzip/lrzip.info index 132a24787d..87bb9469c8 100644 --- a/system/lrzip/lrzip.info +++ b/system/lrzip/lrzip.info @@ -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" |