aboutsummaryrefslogtreecommitdiff
path: root/libraries/toxext/toxext.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 21:10:51 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:42 +0700
commit51eb4e041c19c0c61bef8088d630575426377ddb (patch)
tree7bdd412597fe88040da6034defbf3cb96b836dcd /libraries/toxext/toxext.SlackBuild
parent0b731af2a5fbbabfafc93bb4924bdc00726731bc (diff)
libraries/toxext: Updated for version 0.0.3.
Fix libraries installation directory Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/toxext/toxext.SlackBuild')
-rw-r--r--libraries/toxext/toxext.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/libraries/toxext/toxext.SlackBuild b/libraries/toxext/toxext.SlackBuild
index 9595282fbc0db..7ea590deb6f5b 100644
--- a/libraries/toxext/toxext.SlackBuild
+++ b/libraries/toxext/toxext.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=toxext
-VERSION=${VERSION:-0.0.2}
+VERSION=${VERSION:-0.0.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -80,6 +80,8 @@ 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 {} \;
+sed -i "s|DESTINATION\ lib|DESTINATION lib$LIBDIRSUFFIX|" CMakeLists.txt
+
cmake . \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -Wno-error" \