diff options
Diffstat (limited to 'system/multitail/multitail.SlackBuild')
-rw-r--r-- | system/multitail/multitail.SlackBuild | 14 |
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 |