summaryrefslogtreecommitdiff
path: root/system/multitail
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-17 09:27:29 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-05-17 09:28:09 +0700
commit6441b70c77144cb15bb3e4aa66fce3b83d43c2a6 (patch)
tree7a8559e746bafda4d7dbf4ff1d672384805fa2ad /system/multitail
parent751b406bcb16490734745e32dd0e8d41637b222a (diff)
downloadslackbuilds-6441b70c77144cb15bb3e4aa66fce3b83d43c2a6.tar.gz
system/multitail: Updated for version 6.4.1 + new maintainer.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/multitail')
-rw-r--r--system/multitail/multitail.SlackBuild15
-rw-r--r--system/multitail/multitail.info10
2 files changed, 17 insertions, 8 deletions
diff --git a/system/multitail/multitail.SlackBuild b/system/multitail/multitail.SlackBuild
index 96bba08a86..5a0a566432 100644
--- a/system/multitail/multitail.SlackBuild
+++ b/system/multitail/multitail.SlackBuild
@@ -2,7 +2,8 @@
# Slackware build script for MultiTail
-# Copyright 2009-2012 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2009-2015 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2015 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=multitail
-VERSION=${VERSION:-5.2.13}
+VERSION=${VERSION:-6.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,10 +62,14 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix our destination
sed -i "s|/usr/share|/usr|" Makefile
+sed -i "s|share/man/man1|man/man1|" Makefile
+sed -i "s|share/doc|doc|" Makefile
+sed -i 's|ncursesw/panel.h|panel.h|' mt.h
+sed -i 's|ncursesw/ncurses.h|ncurses.h|' mt.h
# Create a landing pad
mkdir -p $PKG/usr/{bin,doc,man/man1} $PKG/etc $PKG/install
@@ -74,6 +79,10 @@ CFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
strip --strip-unneeded $PKG/usr/bin/multitail
+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
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
diff --git a/system/multitail/multitail.info b/system/multitail/multitail.info
index 642db5ddf7..f0132fe368 100644
--- a/system/multitail/multitail.info
+++ b/system/multitail/multitail.info
@@ -1,10 +1,10 @@
PRGNAM="multitail"
-VERSION="5.2.13"
+VERSION="6.4.1"
HOMEPAGE="http://www.vanheusden.com/multitail/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/multitail-5.2.13.tgz"
-MD5SUM="71a774b6d6bb430672c8a9252baac6e6"
+DOWNLOAD="http://www.vanheusden.com/multitail/multitail-6.4.1.tgz"
+MD5SUM="e82a32f090d61665524b1e866d7d57ca"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Erik Hanson"
-EMAIL="erik@slackbuilds.org"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackbuilds.org"