summaryrefslogtreecommitdiff
path: root/network/nbd/nbd.SlackBuild
diff options
context:
space:
mode:
authorStu Miller <slackbuilds@go4it2day.com>2011-11-09 09:30:09 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-11-26 09:09:09 -0600
commit883de473de412d29c0b7b84d1a9ca317c9e80b3c (patch)
tree1e041c28247774948cbc1f325864c38e776d45e9 /network/nbd/nbd.SlackBuild
parente4c4bb2c796d3203a3696de59059ce0655844f48 (diff)
downloadslackbuilds-883de473de412d29c0b7b84d1a9ca317c9e80b3c.tar.gz
network/nbd: Updated for version 2.9.24.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'network/nbd/nbd.SlackBuild')
-rw-r--r--network/nbd/nbd.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/network/nbd/nbd.SlackBuild b/network/nbd/nbd.SlackBuild
index 21004e2aa8..916e337b0f 100644
--- a/network/nbd/nbd.SlackBuild
+++ b/network/nbd/nbd.SlackBuild
@@ -31,16 +31,14 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=nbd
-VERSION=2.9.21a
+VERSION=2.9.24
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -97,10 +95,8 @@ make install DESTDIR=$PKG
find $PKG | xargs 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
- 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 README $PKG/usr/doc/$PRGNAM-$VERSION