summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/lz4/lz4.SlackBuild10
-rw-r--r--system/lz4/lz4.info6
2 files changed, 11 insertions, 5 deletions
diff --git a/system/lz4/lz4.SlackBuild b/system/lz4/lz4.SlackBuild
index 252e55a7d7..68ecadc966 100644
--- a/system/lz4/lz4.SlackBuild
+++ b/system/lz4/lz4.SlackBuild
@@ -6,13 +6,17 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20180611 bkw: update for 1.8.2. don't try to use the updated script
+# to builds older versions, the man pages will end up
+# in the wrong place due to upstream changing how they
+# interpret MANDIR
# 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.1.2}
+VERSION=${VERSION:-1.8.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -58,11 +62,13 @@ 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 {} \;
+# -j1 was necessary in 1.8.1.2. Not sure it's still needed in 1.8.2, but
+# lz4 is small & builds pretty fast even with -j1, so I'll leave it for now.
make -j1 \
CFLAGS="$SLKCFLAGS" \
PREFIX=/usr \
LIBDIR=/usr/lib$LIBDIRSUFFIX \
- MANDIR=/usr/man/man1 \
+ MANDIR=/usr/man \
DESTDIR=$PKG \
BUILD_STATIC=no \
default install
diff --git a/system/lz4/lz4.info b/system/lz4/lz4.info
index e6e348e4cd..d47f064709 100644
--- a/system/lz4/lz4.info
+++ b/system/lz4/lz4.info
@@ -1,8 +1,8 @@
PRGNAM="lz4"
-VERSION="1.8.1.2"
+VERSION="1.8.2"
HOMEPAGE="https://lz4.github.io/lz4/"
-DOWNLOAD="https://github.com/lz4/lz4/archive/v1.8.1.2/lz4-1.8.1.2.tar.gz"
-MD5SUM="343538e69ba752a386c669b1a28111e2"
+DOWNLOAD="https://github.com/lz4/lz4/archive/v1.8.2/lz4-1.8.2.tar.gz"
+MD5SUM="c2082b751d75550ec4dc163c773e1a71"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""