summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Barboza <bmg.andre@gmail.com>2011-07-19 08:38:01 -0300
committerRobby Workman <rworkman@slackbuilds.org>2011-07-21 22:52:12 -0500
commit2a8bbae3f31ba3932ea35dffa990d7d8e82ff923 (patch)
tree225ccbe7d0d8bd784147141a07981b46c5d2a86d
parent303076bf4a607464b20dfea83967c2ba7b3cd411 (diff)
downloadslackbuilds-2a8bbae3f31ba3932ea35dffa990d7d8e82ff923.tar.gz
network/knemo: Updated for version 0.7.1.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--network/knemo/README12
-rw-r--r--network/knemo/knemo.SlackBuild19
-rw-r--r--network/knemo/knemo.info8
-rw-r--r--network/knemo/slack-desc4
4 files changed, 24 insertions, 19 deletions
diff --git a/network/knemo/README b/network/knemo/README
index a6e4adaa72..9f9867762e 100644
--- a/network/knemo/README
+++ b/network/knemo/README
@@ -1,8 +1,8 @@
-kNemo (KDE Network Monitor) offers a network monitor similar to the one found
-in Windows. It displays for every network interface an icon in the systray.
-Tooltips and an info dialog provide further information about the interface.
-Passive popups inform about interface changes. A traffic plotter is also
-integrated.
+kNemo (KDE Network Monitor) offers a network monitor similar to the one
+found in Windows. It displays for every network interface an icon in
+the systray. Tooltips and an info dialog provide further information
+about the interface. Passive popups inform about interface changes.
+A traffic plotter is also integrated.
-knemo polls the network interface status every second using the ifconfig,
+knemo polls the network interface status every second using the ifconfig,
route, and iwconfig.
diff --git a/network/knemo/knemo.SlackBuild b/network/knemo/knemo.SlackBuild
index 300565dfce..ee0727fd28 100644
--- a/network/knemo/knemo.SlackBuild
+++ b/network/knemo/knemo.SlackBuild
@@ -8,7 +8,7 @@
set -e
PRGNAM=knemo
-VERSION=0.6.80
+VERSION=0.7.1
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,13 +56,18 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-cmake . \
- -DCMAKE_INSTALL_PREFIX=/usr
+mkdir build
+cd build
+ cmake \
+ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
+ ..
-make
-make install DESTDIR=$PKG
+ make
+ make install DESTDIR=$PKG
+cd ..
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/network/knemo/knemo.info b/network/knemo/knemo.info
index ee8a27cae3..d6318ebd9e 100644
--- a/network/knemo/knemo.info
+++ b/network/knemo/knemo.info
@@ -1,10 +1,10 @@
PRGNAM="knemo"
-VERSION="0.6.80"
+VERSION="0.7.1"
HOMEPAGE="http://www.kde-apps.org/content/show.php?content=12956"
-DOWNLOAD="http://kde-apps.org/CONTENT/content-files/12956-knemo-0.6.80.tar.bz2"
-MD5SUM="ef52f6400c562a7cce967ad6d301ce8c"
+DOWNLOAD="http://kde-apps.org/CONTENT/content-files/12956-knemo-0.7.1.tar.bz2"
+MD5SUM="e9a129917dfc6515c992ee1de3c08c16"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Andre Barboza"
EMAIL="bmg.andre@gmail.com"
-APPROVED="dsomero"
+APPROVED="dsomero,Niels Horn"
diff --git a/network/knemo/slack-desc b/network/knemo/slack-desc
index 33798bb67c..8c5bfc5515 100644
--- a/network/knemo/slack-desc
+++ b/network/knemo/slack-desc
@@ -6,9 +6,9 @@
# customary to leave one space after the ':'.
|-----handy-ruler------------------------------------------------------|
-knemo: knemo (KDE Network Monitor)
+knemo: knemo (KDE Network Monitor)
knemo:
-knemo: KNemo offers a network monitor similar to the one found in Windows. It
+knemo: KNemo offers a network monitor similar to the one found in Windows. It
knemo: displays for every network interface an icon in the systray. Tooltips
knemo: and an info dialog provide further information about the interface.
knemo: Passive popups inform about interface changes. A traffic plotter is