aboutsummaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2018-01-14 20:29:20 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-01-17 19:46:26 +0700
commitd949b8ab0111dba7551c3bdc352912820644db83 (patch)
treeee2c34464a19b37355adb6034c718a2d1f82d747 /system
parent1a83a4056917b19893a4a24c56045c55d2ae159c (diff)
system/lz4: Updated for version 1.8.1.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system')
-rw-r--r--system/lz4/lz4.SlackBuild17
-rw-r--r--system/lz4/lz4.info6
2 files changed, 8 insertions, 15 deletions
diff --git a/system/lz4/lz4.SlackBuild b/system/lz4/lz4.SlackBuild
index 2e58fcc9d930..252e55a7d76f 100644
--- a/system/lz4/lz4.SlackBuild
+++ b/system/lz4/lz4.SlackBuild
@@ -6,12 +6,13 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180114 bkw: update for 1.8.1.2. had to add -j1 to the make command.
# 20170819 bkw: update for 1.8.0
# 20170302 bkw: use github long-format URL
# 20170122 bkw: update for 1.7.5
PRGNAM=lz4
-VERSION=${VERSION:-1.8.0}
+VERSION=${VERSION:-1.8.1.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -57,23 +58,15 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-make \
+make -j1 \
CFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
LIBDIR=/usr/lib$LIBDIRSUFFIX \
MANDIR=/usr/man/man1 \
DESTDIR=$PKG \
+ BUILD_STATIC=no \
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
@@ -82,7 +75,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
DOCDIR=$PKG/usr/doc/$PRGNAM-$VERSION
mkdir -p $DOCDIR
-cp -a NEWS README* examples $DOCDIR
+cp -a NEWS README* doc/* examples $DOCDIR
# the library is BSD licensed, but the programs are GPL.
cat programs/COPYING > $DOCDIR/LICENSE.programs.txt
diff --git a/system/lz4/lz4.info b/system/lz4/lz4.info
index e2e7aeb3b0d0..e6e348e4cde7 100644
--- a/system/lz4/lz4.info
+++ b/system/lz4/lz4.info
@@ -1,8 +1,8 @@
PRGNAM="lz4"
-VERSION="1.8.0"
+VERSION="1.8.1.2"
HOMEPAGE="https://lz4.github.io/lz4/"
-DOWNLOAD="https://github.com/lz4/lz4/archive/v1.8.0/lz4-1.8.0.tar.gz"
-MD5SUM="6247bf0e955899969d1600ff34baed6b"
+DOWNLOAD="https://github.com/lz4/lz4/archive/v1.8.1.2/lz4-1.8.1.2.tar.gz"
+MD5SUM="343538e69ba752a386c669b1a28111e2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""