mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
919be5d283
commit
5d2472b158
2 changed files with 13 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue