summaryrefslogtreecommitdiff
path: root/system/multitail/multitail.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2011-02-06 10:14:38 -0600
committerRobby Workman <rworkman@slackbuilds.org>2011-02-06 10:14:38 -0600
commitc85ed639024e766970985d61907a496473655ec9 (patch)
tree9fcd2755ae156410b45463c4020dad2451a27eff /system/multitail/multitail.SlackBuild
parent153bf54b980dedb19aea185edb49189ead57da3d (diff)
downloadslackbuilds-c85ed639024e766970985d61907a496473655ec9.tar.gz
system/multitail: Updated for version 5.2.7.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/multitail/multitail.SlackBuild')
-rw-r--r--system/multitail/multitail.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/system/multitail/multitail.SlackBuild b/system/multitail/multitail.SlackBuild
index 4b72da1863..b51aac85d9 100644
--- a/system/multitail/multitail.SlackBuild
+++ b/system/multitail/multitail.SlackBuild
@@ -1,8 +1,8 @@
#!/bin/sh
-#
+
# Slackware build script for MultiTail
-#
-# Copyright 2009-2010 Erik W. Hanson, Minneapolis, MN, USA
+
+# Copyright 2009-2011 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,16 +23,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=multitail
-VERSION=5.2.6
+VERSION=5.2.7
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -62,14 +60,14 @@ chown -R root:root .
chmod -R u+w,go+r-w,a-s .
# Fix our destination
-sed -i "s|DESTDIR=/|DESTDIR=$PKG|" Makefile
sed -i "s|/usr/share|/usr|" Makefile
# Create a landing pad
mkdir -p $PKG/usr/{bin,doc,man/man1} $PKG/etc $PKG/install
# Compile and Install
-CFLAGS="$SLKCFLAGS" make install
+CFLAGS="$SLKCFLAGS" make
+make install DESTDIR=$PKG
strip --strip-unneeded $PKG/usr/bin/multitail
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild