diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-08-25 18:46:05 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-08-29 10:07:57 +0700 |
commit | 5d2472b158e3885cfc753214f8f2beddd7ace59a (patch) | |
tree | 341a2803f8bf8449937c8688f73e0afe05715beb /libraries | |
parent | 919be5d283d5aee8fba0d574d80fb0d57332ff52 (diff) | |
download | slackbuilds-5d2472b158e3885cfc753214f8f2beddd7ace59a.tar.gz |
libraries/sparsehash: Updated for version 2.0.4.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/sparsehash/sparsehash.SlackBuild | 14 | ||||
-rw-r--r-- | libraries/sparsehash/sparsehash.info | 6 |
2 files changed, 13 insertions, 7 deletions
diff --git a/libraries/sparsehash/sparsehash.SlackBuild b/libraries/sparsehash/sparsehash.SlackBuild index ffe9703129..1d5acb2193 100644 --- a/libraries/sparsehash/sparsehash.SlackBuild +++ b/libraries/sparsehash/sparsehash.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for sparsehash -# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=sparsehash -VERSION=${VERSION:-2.0.3} +VERSION=${VERSION:-2.0.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,10 @@ 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 {} \; +# the version number is incorrect +sed -i "s|sparsehash,\ 2\.0\.2|sparsehash, 2.0.4|" configure.ac +autoreconf -fi + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -86,8 +90,10 @@ make install DESTDIR=$PKG find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp doc/* $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc +mv $PKG/usr/share/doc/$PRGNAM-* $PKG/usr/doc/$PRGNAM-$VERSION +rm -fR $PKG/usr/share +cp -a doc $PKG/usr/doc/$PRGNAM-$VERSION/html cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/sparsehash/sparsehash.info b/libraries/sparsehash/sparsehash.info index 62f5d59320..8e58865768 100644 --- a/libraries/sparsehash/sparsehash.info +++ b/libraries/sparsehash/sparsehash.info @@ -1,8 +1,8 @@ PRGNAM="sparsehash" -VERSION="2.0.3" +VERSION="2.0.4" HOMEPAGE="https://github.com/sparsehash/sparsehash" -DOWNLOAD="https://github.com/sparsehash/sparsehash/archive/sparsehash-2.0.3/sparsehash-sparsehash-2.0.3.tar.gz" -MD5SUM="d8d5e2538c1c25577b3f066d7a55e99e" +DOWNLOAD="https://github.com/sparsehash/sparsehash/archive/sparsehash-2.0.4/sparsehash-sparsehash-2.0.4.tar.gz" +MD5SUM="cb565465643c3588abfac569b31e7433" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |