diff options
Diffstat (limited to 'system/htop/htop.SlackBuild')
-rw-r--r-- | system/htop/htop.SlackBuild | 17 |
1 files changed, 5 insertions, 12 deletions
diff --git a/system/htop/htop.SlackBuild b/system/htop/htop.SlackBuild index 3ee99b48c2..475e13191e 100644 --- a/system/htop/htop.SlackBuild +++ b/system/htop/htop.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for htop -# Copyright 2007-2009 Michiel van Wessem, Manchester, United Kingdom +# Copyright 2007-2010 Michiel van Wessem, Manchester, United Kingdom # All rights reserved. # # Redistribution and use in source and binary forms, with or without @@ -24,16 +24,14 @@ # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=htop -VERSION=${VERSION:-0.8.3} +VERSION=${VERSION:-0.9} 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 @@ -76,8 +74,8 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --sysconfdir=/etc \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man/ \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -87,13 +85,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install-strip DESTDIR=$PKG -# remove empty directories -rmdir $PKG/usr/{include,lib$LIBDIRSUFFIX} - -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $( find . -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done -) +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 cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ |