aboutsummaryrefslogtreecommitdiff
path: root/system/htop/htop.SlackBuild
diff options
context:
space:
mode:
authorMichiel van Wessem <michiel@slackbuilds.org>2010-05-13 00:40:37 +0200
committerChess Griffin <chess@slackbuilds.org>2010-05-13 00:40:37 +0200
commita5ca3494f5129ff3a0b83fbf26928a0c4b944b08 (patch)
treee49826d1a48bf26e29a6cdce2d70d71c0ca3c8d6 /system/htop/htop.SlackBuild
parentb87070df5a1914797ef201bcaa384cb7ad702367 (diff)
system/htop: Updated for version 0.8.3
Diffstat (limited to 'system/htop/htop.SlackBuild')
-rw-r--r--system/htop/htop.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/system/htop/htop.SlackBuild b/system/htop/htop.SlackBuild
index 8ae8511d6f3a6..3051abe61e53d 100644
--- a/system/htop/htop.SlackBuild
+++ b/system/htop/htop.SlackBuild
@@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=htop
-VERSION=${VERSION:-0.8.2}
+VERSION=${VERSION:-0.8.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -75,6 +75,9 @@ 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
@@ -90,4 +93,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}