aboutsummaryrefslogtreecommitdiff
path: root/academic/qhull/qhull.SlackBuild
diff options
context:
space:
mode:
authorChris Abela <chris.abela@maltats.com>2010-07-31 21:34:16 -0500
committerErik Hanson <erik@slackbuilds.org>2010-07-31 21:34:16 -0500
commit2438a2e78c2d3114f84f6b2d187139b61a118030 (patch)
tree3b2492b777bd9add05111e31dc3b85fdef497629 /academic/qhull/qhull.SlackBuild
parent42c8f54dd71b8ca5d29abf4631a1b63a41ae3eaa (diff)
academic/qhull: Build bump, install qhull.h.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'academic/qhull/qhull.SlackBuild')
-rw-r--r--academic/qhull/qhull.SlackBuild12
1 files changed, 4 insertions, 8 deletions
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild
index ac7b309b1025..ca478dd9fd9b 100644
--- a/academic/qhull/qhull.SlackBuild
+++ b/academic/qhull/qhull.SlackBuild
@@ -7,15 +7,13 @@
PRGNAM=qhull
VERSION=${VERSION:-2010.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
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
@@ -39,7 +37,7 @@ else
LIBDIRSUFFIX=""
fi
-set -e
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
@@ -79,10 +77,8 @@ make install \
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
cp -a File_id.diz $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild