system/lz4: Updated for version 1.7.5.

This commit is contained in:
B. Watson 2017-01-22 17:08:57 -05:00 committed by Willy Sudiarto Raharjo
parent 0a8af29501
commit 3ae8d27d60
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 14 additions and 6 deletions

View file

@ -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

View file

@ -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=""