summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichales Michaloudes <korgie@gmail.com>2013-12-02 09:08:38 +0700
committerRobby Workman <rworkman@slackbuilds.org>2013-12-02 00:57:39 -0600
commit01173f38a4d9cf49564fb70d7ec323d883b3ae49 (patch)
tree2d5678d0f7b5f9025ec6e3d72a57e28da9c79447
parentcb17338b87b0d35ad85701e2063d7949494b2c10 (diff)
downloadslackbuilds-01173f38a4d9cf49564fb70d7ec323d883b3ae49.tar.gz
network/nload: Updated for version 0.7.4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/nload/nload.SlackBuild30
-rw-r--r--network/nload/nload.info6
2 files changed, 26 insertions, 10 deletions
diff --git a/network/nload/nload.SlackBuild b/network/nload/nload.SlackBuild
index c6abc301b0..cb1a6d9f13 100644
--- a/network/nload/nload.SlackBuild
+++ b/network/nload/nload.SlackBuild
@@ -2,11 +2,29 @@
# Slackware build script for <nload>
-# Written by Michales Michaloudes korgie_earse_this_andthis@gmail.com
+# Written by Michales Michaloudes korgie@gmail.com
# Modified by Robby Workman <rworkman@slackbuilds.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nload
-VERSION=0.7.2
+VERSION=${VERSION:-0.7.4}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -66,13 +84,11 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+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
-( cd $PKG/usr/man || exit 1
- find . -type f -exec gzip -9 {} \;
- for i in $(find . -type l) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
-)
+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
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
diff --git a/network/nload/nload.info b/network/nload/nload.info
index fbcde39d8e..73e3de3111 100644
--- a/network/nload/nload.info
+++ b/network/nload/nload.info
@@ -1,8 +1,8 @@
PRGNAM="nload"
-VERSION="0.7.2"
+VERSION="0.7.4"
HOMEPAGE="http://sourceforge.net/projects/nload/"
-DOWNLOAD="http://downloads.sourceforge.net/nload/nload-0.7.2.tar.gz"
-MD5SUM="5b851ecf898edcd1f465946745e95eb6"
+DOWNLOAD="http://downloads.sourceforge.net/nload/nload-0.7.4.tar.gz"
+MD5SUM="3c733c528f244ca5a4f76bf185729c39"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""