mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
libraries/spdlog: Updated for version 1.8.1.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
25c38a101a
commit
9e9b7fe2c6
2 changed files with 11 additions and 6 deletions
|
@ -24,7 +24,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=spdlog
|
||||
VERSION=${VERSION:-1.5.0}
|
||||
VERSION=${VERSION:-1.8.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -70,8 +70,12 @@ 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 {} \;
|
||||
|
||||
FMT=OFF
|
||||
pkg-config --exists fmt && FMT=ON
|
||||
FMT=ON
|
||||
pkg-config --exists fmt || FMT=OFF
|
||||
|
||||
# Require an older cmake version.
|
||||
sed -i 's/3.10/3.5.2/' CMakeLists.txt
|
||||
sed -i 's/3.10/3.5.2/' tests/CMakeLists.txt
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
@ -84,6 +88,7 @@ cd build
|
|||
-DSPDLOG_BUILD_BENCH=OFF \
|
||||
-DSPDLOG_BUILD_EXAMPLE=OFF \
|
||||
-DSPDLOG_FMT_EXTERNAL=$FMT \
|
||||
-DCMAKE_SKIP_RPATH=TRUE \
|
||||
-DCMAKE_BUILD_TYPE=Release ..
|
||||
make
|
||||
make install DESTDIR=$PKG
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="spdlog"
|
||||
VERSION="1.5.0"
|
||||
VERSION="1.8.1"
|
||||
HOMEPAGE="https://github.com/gabime/spdlog"
|
||||
DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.5.0/spdlog-1.5.0.tar.gz"
|
||||
MD5SUM="a966eea01f81551527853d282896cb4d"
|
||||
DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.8.1/spdlog-1.8.1.tar.gz"
|
||||
MD5SUM="765838829ada66a35002dbb3ba3fed30"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue