diff options
author | B. Watson <yalhcru@gmail.com> | 2019-11-27 15:06:12 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-15 17:06:18 +0700 |
commit | 74b413a71f7ef2cb6c74124890d81bcf61f7fb80 (patch) | |
tree | 3614d947219ab7fd0e8871bf22f43404102ad3d1 /system/lz4/lz4.SlackBuild | |
parent | a0fa0651c9e93dffcdbd936d38020fd4f67b1f44 (diff) | |
download | slackbuilds-74b413a71f7ef2cb6c74124890d81bcf61f7fb80.tar.gz |
system/lz4: Updated for version 1.9.2.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/lz4/lz4.SlackBuild')
-rw-r--r-- | system/lz4/lz4.SlackBuild | 14 |
1 files changed, 6 insertions, 8 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. |