From 3ae8d27d60b77eb31f33e3ae888ca6677b14b04b Mon Sep 17 00:00:00 2001 From: "B. Watson" Date: Sun, 22 Jan 2017 17:08:57 -0500 Subject: system/lz4: Updated for version 1.7.5. --- system/lz4/lz4.SlackBuild | 14 +++++++++++--- system/lz4/lz4.info | 6 +++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/system/lz4/lz4.SlackBuild b/system/lz4/lz4.SlackBuild index e311717151..184b0ee71b 100644 --- a/system/lz4/lz4.SlackBuild +++ b/system/lz4/lz4.SlackBuild @@ -6,8 +6,10 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20170122 bkw: update for 1.7.5 + PRGNAM=lz4 -VERSION=${VERSION:-r131} +VERSION=${VERSION:-1.7.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -44,7 +46,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -59,11 +61,17 @@ make \ LIBDIR=/usr/lib$LIBDIRSUFFIX \ MANDIR=/usr/man/man1 \ DESTDIR=$PKG \ - lib lz4programs install + default install # Don't ship the static lib. rm -f $PKG/usr/lib$LIBDIRSUFFIX/*.a +# lz4 and lz4c aren't quite identical: lz4c has "legacy arguments". +# The man page doesn't document them, but lz4c --help does. +# Not sure if it's really useful to keep both binaries around, but +# until I know for sure, I'll keep them both. +### rm -f $PKG/usr/bin/lz4c $PKG/usr/man/man1/lz4c.1 + 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 diff --git a/system/lz4/lz4.info b/system/lz4/lz4.info index 4bf9d06823..c37ee0fc0b 100644 --- a/system/lz4/lz4.info +++ b/system/lz4/lz4.info @@ -1,8 +1,8 @@ PRGNAM="lz4" -VERSION="r131" +VERSION="1.7.5" HOMEPAGE="https://lz4.github.io/lz4/" -DOWNLOAD="https://github.com/Cyan4973/lz4/archive/r131.tar.gz" -MD5SUM="42b09fab42331da9d3fb33bd5c560de9" +DOWNLOAD="https://github.com/lz4/lz4/archive/v1.7.5.tar.gz" +MD5SUM="c9610c5ce97eb431dddddf0073d919b9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3