summaryrefslogtreecommitdiff
path: root/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
diff options
context:
space:
mode:
authordsomero <xgizzmo@slackbuilds.org>2010-05-19 01:56:27 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-05-19 01:56:27 -0400
commit6cbce669528c99f3c5bbc65ecb37379fb616ea42 (patch)
treed991afbcf3b232f4b013705af21d58c58b04aff2 /libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
parentf10a7e233e067ae39596ffe0b411befd8c3ac620 (diff)
downloadslackbuilds-6cbce669528c99f3c5bbc65ecb37379fb616ea42.tar.gz
libraries/OpenSceneGraph: Updated for version 2.8.3.
Diffstat (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild')
-rw-r--r--libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
index 9db4992f21..0135092b98 100644
--- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
+++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild
@@ -5,7 +5,7 @@
# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=OpenSceneGraph
-VERSION=${VERSION:-2.8.0}
+VERSION=${VERSION:-2.8.3}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -50,12 +50,8 @@ cmake \
make
make install DESTDIR=$PKG
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \