summaryrefslogtreecommitdiff
path: root/network/nbd/nbd.SlackBuild
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2011-05-31 23:02:28 -0400
committerRobby Workman <rworkman@slackbuilds.org>2011-06-13 01:33:39 -0400
commit2a398cb06beb891b8d5acf8174e550af808dbe98 (patch)
tree2b8f9a4a3483766840fc4a5b56e6e71238d2be9d /network/nbd/nbd.SlackBuild
parentc5137b75f202ae38907001d5e98f1a4d0b13d3c6 (diff)
downloadslackbuilds-2a398cb06beb891b8d5acf8174e550af808dbe98.tar.gz
network/nbd: Updated for version 2.9.21a.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/nbd/nbd.SlackBuild')
-rw-r--r--network/nbd/nbd.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/network/nbd/nbd.SlackBuild b/network/nbd/nbd.SlackBuild
index c5498ba091..21004e2aa8 100644
--- a/network/nbd/nbd.SlackBuild
+++ b/network/nbd/nbd.SlackBuild
@@ -2,9 +2,8 @@
# Slackware build script for NBD (Network Block Device)
-# Copyright (c) 2008 Andrzej Telszewski <atelszewski@gmail.com>
-# All rights reserved.
-#
+# Maintained by Stu Miller <slackbuilds@go4it2day.com>
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
@@ -32,7 +31,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nbd
-VERSION=2.9.11
+VERSION=2.9.21a
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -68,7 +67,7 @@ fi
set -e
rm -rf $PKG
-mkdir -p $TMP $PKG $OUTPUT
+mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $TMP/$PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
@@ -92,7 +91,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-debug \
--build=$ARCH-slackware-linux
-make
+make
make install DESTDIR=$PKG
find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \
@@ -104,7 +103,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object"| grep ELF | \
)
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a INSTALL README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install