aboutsummaryrefslogtreecommitdiff
path: root/multimedia/nted/nted.SlackBuild
diff options
context:
space:
mode:
authorCorrado Franco <conraid@gmail.com>2010-05-13 00:35:08 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:35:08 +0200
commit5f1e9836c5a712a0ecc4fb48315eeae1123bf142 (patch)
tree44effcd727ff8ba3a9b07daea7327e00c9c9ec81 /multimedia/nted/nted.SlackBuild
parentac04e589d7847a4e5a48cd83b5234f700a5d3522 (diff)
multimedia/nted: Updated for version 1.8.7
Diffstat (limited to 'multimedia/nted/nted.SlackBuild')
-rw-r--r--multimedia/nted/nted.SlackBuild11
1 files changed, 4 insertions, 7 deletions
diff --git a/multimedia/nted/nted.SlackBuild b/multimedia/nted/nted.SlackBuild
index 75110d932588a..0bb98c522b74c 100644
--- a/multimedia/nted/nted.SlackBuild
+++ b/multimedia/nted/nted.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for nted
#(http://vsr.informatik.tu-chemnitz.de/staff/jan/nted/nted.xhtml)
-#
+
# Copyright 2008 Corrado Franco (http://www.conraid.net)
# All rights reserved.
#
@@ -26,7 +26,7 @@
# Modified by the SlackBuilds.org project
PRGNAM=nted
-VERSION=${VERSION:-1.5.1}
+VERSION=${VERSION:-1.8.7}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,10 +79,7 @@ CXXFLAGS="$SLKCFLAGS" \
--build=$ARCH-slackware-linux \
make
-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
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
@@ -98,4 +95,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}