summaryrefslogtreecommitdiff
path: root/system/rmw/rmw.SlackBuild
diff options
context:
space:
mode:
authorEdward W. Koenig <kingbeowulf@linuxgalaxy.org>2021-07-15 20:57:19 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-17 09:50:22 +0700
commit91068fd6544b02f6dd29fac026c38190d6bed56a (patch)
tree7bc7dff275b054c317a68b8ecdfd27bcddbb501f /system/rmw/rmw.SlackBuild
parented4e3a1749d9c867010c3ed7774deda4c4f20215 (diff)
downloadslackbuilds-91068fd6544b02f6dd29fac026c38190d6bed56a.tar.gz
games/sauerbraten: Updated for version 2020_12_27
Signed-off-by: Edward W. Koenig <kingbeowulf@linuxgalaxy.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/rmw/rmw.SlackBuild')
-rw-r--r--system/rmw/rmw.SlackBuild35
1 files changed, 15 insertions, 20 deletions
diff --git a/system/rmw/rmw.SlackBuild b/system/rmw/rmw.SlackBuild
index 8b744a35e2..bee1c166a7 100644
--- a/system/rmw/rmw.SlackBuild
+++ b/system/rmw/rmw.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for rmw
#
-# Copyright 2021 / Andy Alt / Minnesota, USA
+# Copyright 2019-2021 / Andy Alt / United States
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -21,13 +21,11 @@
# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-#
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=rmw
-VERSION=${VERSION:-0.8.0_2}
-SRCNAM=$(echo $VERSION | tr _ -)
+VERSION=${VERSION:-0.7.06}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +60,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$SRCNAM.tar.gz
-cd $PRGNAM-$SRCNAM
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -72,26 +70,23 @@ 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 {} \;
-mkdir build
-cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-meson .. \
- --buildtype=release \
- -Dstrip=true \
+./configure \
--prefix=/usr \
--mandir=/usr/man \
- --docdir=/usr/doc/$PRGNAM-$VERSION \
- --localedir=/usr/share/locale
+ --localedir=/usr/share/locale \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
-ninja
-DESTDIR=$PKG ninja install
-cd ..
+make
+make install-strip DESTDIR=$PKG
-# meson configures stripping the binary when installing above
#
-#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
+# rmw no longer searches for a system-wide config file
+#
+#mkdir -p $PKG/etc
+#cat rmwrc > $PKG/etc/rmwrc.new
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done