diff options
author | Zhu Qun-Ying <zhu.qunying@gmail.com> | 2016-11-08 22:41:21 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2016-11-11 20:36:22 +0000 |
commit | ec76c6ca038f3a0c025041847979527ff90c1af0 (patch) | |
tree | 8c30bd9fa0604bd86239286c7b5f40019cd6e36e | |
parent | 6f55fbc72b9e6127fcd4918584ecf396c10a0b3f (diff) | |
download | slackbuilds-ec76c6ca038f3a0c025041847979527ff90c1af0.tar.gz |
system/zstd: Updated for version 1.1.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | system/zstd/zstd.SlackBuild | 25 | ||||
-rw-r--r-- | system/zstd/zstd.info | 6 |
2 files changed, 15 insertions, 16 deletions
diff --git a/system/zstd/zstd.SlackBuild b/system/zstd/zstd.SlackBuild index 390d5bfae7..aeb4c020d3 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.1.0} +VERSION=${VERSION:-1.1.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,21 +69,20 @@ 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 {} \; -make -C lib CFLAGS="$SLKCFLAGS" -make CFLAGS="$SLKCFLAGS" +make CFLAGS="$SLKCFLAGS" DESTDIR=$PKG PREFIX=/usr LIBDIR=/usr/lib$LIBDIRSUFFIX MANDIR=/usr/man/man1 install +make -C contrib/pzstd DESTDIR=$PKG PREFIX=/usr install -mkdir -p $PKG/usr/bin $PKG/usr/lib$LIBDIRSUFFIX $PKG/usr/include \ - $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig +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 - -cp zstd $PKG/usr/bin -cp lib/zstd.h $PKG/usr/include -cp -d lib/libzstd.so* $PKG/usr/lib$LIBDIRSUFFIX -sed -e 's/@PREFIX@/\/usr/' -e "s/@LIBDIR@/\/usr\/lib$LIBDIRSUFFIX/" \ - -e "s/@VERSION@/$VERSION/" -e '/@INCLUDEDIR@/d' lib/libzstd.pc.in \ - > $PKG/usr/lib$LIBDIRSUFFIX/pkgconfig/libzstd.pc - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/pzstd cp -a README.md NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cp contrib/pzstd/README.md $PKG/usr/doc/$PRGNAM-$VERSION/pzstd + cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/system/zstd/zstd.info b/system/zstd/zstd.info index b31b9cfdbd..cc9d6d48cd 100644 --- a/system/zstd/zstd.info +++ b/system/zstd/zstd.info @@ -1,8 +1,8 @@ PRGNAM="zstd" -VERSION="1.1.0" +VERSION="1.1.1" HOMEPAGE="http://facebook.github.io/zstd/" -DOWNLOAD="https://github.com/facebook/zstd/archive/v1.1.0/zstd-1.1.0.tar.gz" -MD5SUM="64fc5efcd1ca60a3cd74a3ccaf25006e" +DOWNLOAD="https://github.com/facebook/zstd/archive/v1.1.1/zstd-1.1.1.tar.gz" +MD5SUM="487cfdc41d7afebb565c171bf3df27a2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |