summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorZhu Qun-Ying <zhu.qunying@gmail.com>2018-10-21 05:01:32 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-21 05:20:54 +0700
commit4dbdf4bb2b71c162e9b31bf5a00bfb28fd9d00ed (patch)
tree18362c322c2ce302397b20f433117ac51dcfa49d /system
parentfd2864f29c4df1ca2e69c73256aebe506b394a15 (diff)
downloadslackbuilds-4dbdf4bb2b71c162e9b31bf5a00bfb28fd9d00ed.tar.gz
system/zstd: Updated for version 1.3.7.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/zstd/zstd.SlackBuild10
-rw-r--r--system/zstd/zstd.info6
2 files changed, 6 insertions, 10 deletions
diff --git a/system/zstd/zstd.SlackBuild b/system/zstd/zstd.SlackBuild
index 20dbd589f1..cc34e10507 100644
--- a/system/zstd/zstd.SlackBuild
+++ b/system/zstd/zstd.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zstd
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -72,12 +72,8 @@ find -L . \
make CFLAGS="$SLKCFLAGS" DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib$LIBDIRSUFFIX mandir=/usr/man/ install
make -C contrib/pzstd DESTDIR=$PKG PREFIX=/usr install
-cd $PKG/usr/man/man1
- rm unzstd.1 zstdcat.1
- gzip -9 zstd.1
- ln -s zstd.1.gz unzstd.1.gz
- ln -s zstd.1.gz zstdcat.1.gz
-cd -
+find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/pzstd
cp -a doc/* NEWS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/zstd/zstd.info b/system/zstd/zstd.info
index 82dd372eac..ac4775f618 100644
--- a/system/zstd/zstd.info
+++ b/system/zstd/zstd.info
@@ -1,8 +1,8 @@
PRGNAM="zstd"
-VERSION="1.3.5"
+VERSION="1.3.7"
HOMEPAGE="http://facebook.github.io/zstd/"
-DOWNLOAD="https://github.com/facebook/zstd/archive/v1.3.5/zstd-1.3.5.tar.gz"
-MD5SUM="d2fc97be4852d666f086282053c02319"
+DOWNLOAD="https://github.com/facebook/zstd/archive/v1.3.7/zstd-1.3.7.tar.gz"
+MD5SUM="9b89923a360ac85a3b8076fdf495318d"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""