diff options
Diffstat (limited to 'system/lz4/lz4.SlackBuild')
-rw-r--r-- | system/lz4/lz4.SlackBuild | 10 |
1 files changed, 8 insertions, 2 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 |