summaryrefslogtreecommitdiff
path: root/office/mu/mu.SlackBuild
diff options
context:
space:
mode:
authorJostein Berntsen <jbernts@broadpark.no>2018-02-25 22:25:01 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-03-03 08:42:06 +0700
commit4fc9722abac2b44f1e504b1cb1a11764784853a4 (patch)
treeee4c649cdff56cb07dc1325971de43f79ea4af2a /office/mu/mu.SlackBuild
parent162c9c28e2570d4b0e221b620b129ca1c68be48b (diff)
downloadslackbuilds-4fc9722abac2b44f1e504b1cb1a11764784853a4.tar.gz
office/mu: Updated for version 1.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'office/mu/mu.SlackBuild')
-rw-r--r--office/mu/mu.SlackBuild17
1 files changed, 9 insertions, 8 deletions
diff --git a/office/mu/mu.SlackBuild b/office/mu/mu.SlackBuild
index 49c3993c62..c4c856b5bf 100644
--- a/office/mu/mu.SlackBuild
+++ b/office/mu/mu.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for mu
-# Copyright 2013-2016 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2013-2018 Jostein Berntsen <jbernts@broadpark.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mu
-VERSION=${VERSION:-0.9.18}
+VERSION=${VERSION:-1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,10 +73,11 @@ autoreconf -fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
- --prefix=/usr \
- --mandir=/usr/man \
- --infodir=/usr/info \
- --build=$ARCH-slackware-linux
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --mandir=/usr/man \
+ --infodir=/usr/info \
+ --build=$ARCH-slackware-linux
make V=1
make install DESTDIR=$PKG
@@ -93,7 +94,7 @@ gzip -9 $PKG/usr/info/*
find $PKG -depth -type d -empty -delete || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS ChangeLog COPYING HACKING INSTALL README NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS ChangeLog COPYING HACKING README NEWS TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install