diff options
author | Willy Sudiarto Raharjo <willysr@slackware-id.org> | 2013-11-12 00:15:26 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-11 13:08:47 -0600 |
commit | 6dab5e1c9758df678bf5dbb44edd959d9aea1d17 (patch) | |
tree | 241dd0c0299a7b172e18570744b0e5513db69dcd /network/bmon/bmon.SlackBuild | |
parent | 3c672421ff68e4cb05959f43865575d4ffb4c5e3 (diff) | |
download | slackbuilds-6dab5e1c9758df678bf5dbb44edd959d9aea1d17.tar.gz |
network/bmon: Updated for version 3.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/bmon/bmon.SlackBuild')
-rw-r--r-- | network/bmon/bmon.SlackBuild | 23 |
1 files changed, 6 insertions, 17 deletions
diff --git a/network/bmon/bmon.SlackBuild b/network/bmon/bmon.SlackBuild index d0f3184558..66e42026c0 100644 --- a/network/bmon/bmon.SlackBuild +++ b/network/bmon/bmon.SlackBuild @@ -7,16 +7,14 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. PRGNAM=bmon -VERSION=${VERSION:-2.1.0} +VERSION=${VERSION:-3.1} 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 @@ -49,17 +47,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# bmon is by the author of libnl, but apparently bmon only works with -# 0.x versions of libnl (specifically, it won't build with the libnl 1.1 -# that's included in Slackware 13). There's no --disable-libnl or similar -# option to the configure script, so we have to patch it. -patch -p1 < $CWD/disable_libnl.diff - -# missing = signs... sigh. -patch -p1 < $CWD/dumb_compile_error_fixes.diff - -autoreconf - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ @@ -73,9 +60,11 @@ make make install DESTDIR=$PKG strip $PKG/usr/bin/$PRGNAM -gzip -9 $PKG/usr/man/man1/$PRGNAM.1 -cp -a BUGS TODO ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION -chmod 0644 $PKG/usr/doc/$PRGNAM-$VERSION/* + +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 + +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |