mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
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>
This commit is contained in:
parent
3c672421ff
commit
6dab5e1c97
2 changed files with 10 additions and 21 deletions
|
@ -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
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="bmon"
|
||||
VERSION="2.1.0"
|
||||
VERSION="3.1"
|
||||
HOMEPAGE="http://people.suug.ch/~tgr/bmon/"
|
||||
DOWNLOAD="ftp://ftp.freebsd.org/pub/FreeBSD/ports/distfiles/bmon-2.1.0.tar.gz"
|
||||
MD5SUM="3111a027907016c0902d67350c619df6"
|
||||
DOWNLOAD="http://www.carisma.slowglass.com/~tgr/bmon/files/bmon-3.1.tar.gz"
|
||||
MD5SUM="7341089378fd5558de42e2424693943b"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
REQUIRES="confuse"
|
||||
MAINTAINER="B. Watson"
|
||||
EMAIL="yalhcru@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue