diff options
author | Steven Voges <svoges.sbo@gmail.com> | 2023-09-01 23:50:24 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-09-01 23:50:24 +0700 |
commit | 745b30b7503000acbc9173620aa005a5d6fcfff3 (patch) | |
tree | 3927e74684b357a27e14b679152c460dbe408207 /libraries/cpp-jwt | |
parent | f5c441a87aac210a9f6a84e06f9e37bf1cbac67e (diff) |
libraries/cpp-jwt: Fix version in cmake.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/cpp-jwt')
-rw-r--r-- | libraries/cpp-jwt/cpp-jwt.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/cpp-jwt/cpp-jwt.SlackBuild b/libraries/cpp-jwt/cpp-jwt.SlackBuild index 48384af627efc..e2244cce456e3 100644 --- a/libraries/cpp-jwt/cpp-jwt.SlackBuild +++ b/libraries/cpp-jwt/cpp-jwt.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for cpp-jwt -# Copyright 2022 Steven Voges <Oregon, USA> +# Copyright 2022-2023 Steven Voges <Oregon, USA> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cpp-jwt VERSION=${VERSION:-1.4} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -76,6 +76,9 @@ 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 {} \; +#Fix version so cmake can fine the proper files. +sed -i "s/1.2.0/1.4.0/g" CMakeLists.txt + mkdir -p build cd build cmake \ |