summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/mujs/mujs.SlackBuild12
-rw-r--r--libraries/mujs/mujs.info10
2 files changed, 14 insertions, 8 deletions
diff --git a/libraries/mujs/mujs.SlackBuild b/libraries/mujs/mujs.SlackBuild
index 61a22527d4..9cd6413963 100644
--- a/libraries/mujs/mujs.SlackBuild
+++ b/libraries/mujs/mujs.SlackBuild
@@ -3,6 +3,9 @@
# Slackware build script for mujs
# Written by Valerio Talora <navigare@gmx.com>
+# 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
diff --git a/libraries/mujs/mujs.info b/libraries/mujs/mujs.info
index c214533a45..e9d85489a3 100644
--- a/libraries/mujs/mujs.info
+++ b/libraries/mujs/mujs.info
@@ -1,10 +1,10 @@
PRGNAM="mujs"
-VERSION="1.0.5"
+VERSION="1.0.7"
HOMEPAGE="https://mujs.com/"
-DOWNLOAD="https://mujs.com/downloads/mujs-1.0.5.tar.xz"
-MD5SUM="578f8be24a46449c6bcd36ad968d805d"
+DOWNLOAD="https://mujs.com/downloads/mujs-1.0.7.tar.xz"
+MD5SUM="2797940102e4020a9182ad789fbed2f2"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Andreas Guldstrand"
-EMAIL="andreas.guldstrand@gmail.com"
+MAINTAINER="Christoph Willing"
+EMAIL="chris.willing@linux.com"