summaryrefslogtreecommitdiff
path: root/network/nbd/nbd.SlackBuild
diff options
context:
space:
mode:
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