diff options
author | Michiel van Wessem <michiel@slackbuilds.org> | 2010-12-02 05:13:10 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-12-05 19:59:23 -0600 |
commit | 6c3580abc123d8fb5f9306721f8a38b0054c4815 (patch) | |
tree | 492bb35eea0c5f407ed4a7fc6c4d84a47ee4d6d9 /system/htop/htop.SlackBuild | |
parent | cd3dc024bcf4ac12faf95240e03a044a03f25edf (diff) | |
download | slackbuilds-6c3580abc123d8fb5f9306721f8a38b0054c4815.tar.gz |
system/htop: Updated for version 0.9.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
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 \ |