From 26ee419c3cde9c31a98ca0855c1ce3cd336337f9 Mon Sep 17 00:00:00 2001 From: Christoph Willing Date: Tue, 23 Jun 2020 09:16:08 +1000 Subject: libraries/mujs: Updated for version 1.0.7 & new maintainer Signed-off-by: Christoph Willing Signed-off-by: Willy Sudiarto Raharjo --- libraries/mujs/mujs.SlackBuild | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'libraries/mujs/mujs.SlackBuild') diff --git a/libraries/mujs/mujs.SlackBuild b/libraries/mujs/mujs.SlackBuild index 61a22527d4546..9cd6413963b9e 100644 --- a/libraries/mujs/mujs.SlackBuild +++ b/libraries/mujs/mujs.SlackBuild @@ -3,6 +3,9 @@ # Slackware build script for mujs # Written by Valerio Talora +# Copyright (c) 2018 (versions 1.0.3-1.0.5) Andreas Guldstrand +# Copyright (c) 2020 Christoph Willing, Brisbane, Australia +# All rights reserved. # # Redistribution and use of this script, with or without modification, is # permitted provided that the following conditions are met: @@ -22,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mujs -VERSION=${VERSION:-1.0.5} +VERSION=${VERSION:-1.0.7} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,6 +65,7 @@ cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.xz cd $PRGNAM-$VERSION +sed -i -e '/LIBREADLINE +=/ s/$/ -ltermcap/' Makefile chown -R root:root . find -L . \ @@ -70,8 +74,10 @@ 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 {} \; -make LDFLAGS=-ltermcap -make prefix=/usr libdir=/usr/lib${LIBDIRSUFFIX} install DESTDIR=$PKG +make shared && make install-shared \ + prefix=/usr \ + libdir=/usr/lib${LIBDIRSUFFIX} \ + DESTDIR=$PKG mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING README docs $PKG/usr/doc/$PRGNAM-$VERSION -- cgit v1.2.3