diff options
author | Ulrich Schaefer <us@ulischaefer.net> | 2012-05-29 17:39:12 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-06-03 15:21:09 -0500 |
commit | 2aa198578a6d30bfaa71fc6bcd429030b0af763d (patch) | |
tree | 598bc7140c777a57fa2096a56c8e627f9afb73c1 /network/mrtg/mrtg.SlackBuild | |
parent | 7a767e227bfa47ce20d99df28d3179761f1e634d (diff) |
network/mrtg: Updated for version 2.17.4.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/mrtg/mrtg.SlackBuild')
-rw-r--r-- | network/mrtg/mrtg.SlackBuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/network/mrtg/mrtg.SlackBuild b/network/mrtg/mrtg.SlackBuild index d737c05202ed9..5bb05ec97a95b 100644 --- a/network/mrtg/mrtg.SlackBuild +++ b/network/mrtg/mrtg.SlackBuild @@ -5,7 +5,7 @@ # Written by Ulrich schaefer (us@ulischaefer.net) PRGNAM=mrtg -VERSION=${VERSION:-2.17.2} +VERSION=${VERSION:-2.17.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,7 +36,7 @@ else LIBDIRSUFFIX="" fi -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -65,6 +65,8 @@ CPPFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG +sed -i "s/lib\${/lib${LIBDIRSUFFIX}\${/" $PKG/usr/bin/mrtg + find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true |