summaryrefslogtreecommitdiffstats
path: root/system/rmw/rmw.SlackBuild
diff options
context:
space:
mode:
author Andy Alt2022-02-01 09:59:15 +0100
committer Willy Sudiarto Raharjo2022-02-02 05:23:16 +0100
commit8a5d776bb1347dab6b18fcfe801ad016726f3dfd (patch)
treea82f5ef025adb25d0ec68e5a8c5f56da5492cbf1 /system/rmw/rmw.SlackBuild
parentee9df3fb8d5daffb2e1a506ed8afcc3bfb1780f9 (diff)
downloadslackbuilds-8a5d776bb1347dab6b18fcfe801ad016726f3dfd.tar.gz
system/rmw: Updated for version 0.8.1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rmw/rmw.SlackBuild')
-rw-r--r--system/rmw/rmw.SlackBuild29
1 files changed, 16 insertions, 13 deletions
diff --git a/system/rmw/rmw.SlackBuild b/system/rmw/rmw.SlackBuild
index fe6cf613f2..1fcbab1ea8 100644
--- a/system/rmw/rmw.SlackBuild
+++ b/system/rmw/rmw.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for rmw
#
-# Copyright 2019-2021 / Andy Alt / United States
+# Copyright 2019-2022 / Andy Alt / United States
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rmw
-VERSION=${VERSION:-0.7.06}
+VERSION=${VERSION:-0.8.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -79,17 +79,20 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --localedir=/usr/share/locale \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --build=$ARCH-slackware-linux
-
-make
-make install-strip DESTDIR=$PKG
+mkdir build
+cd build
+ CFLAGS="$SLKCFLAGS" \
+ CXXFLAGS="$SLKCFLAGS" \
+ meson .. \
+ --buildtype=release \
+ -Dstrip=true \
+ --mandir=/usr/man \
+ --prefix=/usr \
+ --localedir=/usr/share/locale \
+ -Ddocdir=/usr/doc/$PRGNAM-$VERSION
+ ninja
+ DESTDIR=$PKG ninja install
+cd ..
#
# rmw no longer searches for a system-wide config file