summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2019-11-27 15:06:12 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 17:06:18 +0700
commit74b413a71f7ef2cb6c74124890d81bcf61f7fb80 (patch)
tree3614d947219ab7fd0e8871bf22f43404102ad3d1
parenta0fa0651c9e93dffcdbd936d38020fd4f67b1f44 (diff)
downloadslackbuilds-74b413a71f7ef2cb6c74124890d81bcf61f7fb80.tar.gz
system/lz4: Updated for version 1.9.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
-rw-r--r--system/lz4/lz4.SlackBuild14
-rw-r--r--system/lz4/lz4.info6
2 files changed, 9 insertions, 11 deletions
diff --git a/system/lz4/lz4.SlackBuild b/system/lz4/lz4.SlackBuild
index d965cfcd0d..f164983623 100644
--- a/system/lz4/lz4.SlackBuild
+++ b/system/lz4/lz4.SlackBuild
@@ -6,9 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191127 bkw: update for 1.9.2
# 20180911 bkw: update for 1.8.3
# 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
+# to build 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.
@@ -17,7 +18,7 @@
# 20170122 bkw: update for 1.7.5
PRGNAM=lz4
-VERSION=${VERSION:-1.8.3}
+VERSION=${VERSION:-1.9.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -54,14 +55,11 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz --exclude visual
cd $PRGNAM-$VERSION
chown -R root:root .
-find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -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.
diff --git a/system/lz4/lz4.info b/system/lz4/lz4.info
index 2ce94b8560..dc19a75be8 100644
--- a/system/lz4/lz4.info
+++ b/system/lz4/lz4.info
@@ -1,8 +1,8 @@
PRGNAM="lz4"
-VERSION="1.8.3"
+VERSION="1.9.2"
HOMEPAGE="https://lz4.github.io/lz4/"
-DOWNLOAD="https://github.com/lz4/lz4/archive/v1.8.3/lz4-1.8.3.tar.gz"
-MD5SUM="d5ce78f7b1b76002bbfffa6f78a5fc4e"
+DOWNLOAD="https://github.com/lz4/lz4/archive/v1.9.2/lz4-1.9.2.tar.gz"
+MD5SUM="3898c56c82fb3d9455aefd48db48eaad"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""