summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Abela <chris.abela@maltats.com>2010-05-13 00:20:19 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:20:19 +0200
commit8021496c3030a3b984008b322defbd472bc7d7c6 (patch)
tree5301c3ac1e8d962ba917357dee11b2848b17c40c
parentd47567c8d251fd5693c347a28d137dca88500e1b (diff)
downloadslackbuilds-8021496c3030a3b984008b322defbd472bc7d7c6.tar.gz
academic/qhull: Updated for version 2003.1
-rw-r--r--academic/qhull/README2
-rw-r--r--academic/qhull/qhull.SlackBuild7
-rw-r--r--academic/qhull/qhull.info2
3 files changed, 7 insertions, 4 deletions
diff --git a/academic/qhull/README b/academic/qhull/README
index 2e1d12e3f3..9467a79659 100644
--- a/academic/qhull/README
+++ b/academic/qhull/README
@@ -1,5 +1,3 @@
-Qhull (Implements the Quickhull Algorithm)
-
Qhull computes the convex hull, Delaunay triangulation, Voronoi
diagram, halfspace intersection about a point, furthest-site Delaunay
triangulation, and furthest-site Voronoi diagram. The source code runs
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild
index 7a5b45173f..d6e67a9d54 100644
--- a/academic/qhull/qhull.SlackBuild
+++ b/academic/qhull/qhull.SlackBuild
@@ -4,7 +4,6 @@
# Written by Chris Abela <chris.abela@maltats.com>
# April 2009
-# |-----------------------------------------------------------------| #
PRGNAM=qhull
VERSION=${VERSION:-2003.1}
@@ -19,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686 -fno-strict-aliasing"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686 -fno-strict-aliasing"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC -fno-strict-aliasing"
+ LIBDIRSUFFIX="64"
fi
set -e
@@ -44,6 +46,7 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--disable-static \
--build=$ARCH-slackware-linux
@@ -74,4 +77,4 @@ mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc
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}
diff --git a/academic/qhull/qhull.info b/academic/qhull/qhull.info
index 432380f377..139031aeaf 100644
--- a/academic/qhull/qhull.info
+++ b/academic/qhull/qhull.info
@@ -2,7 +2,9 @@ PRGNAM="qhull"
VERSION="2003.1"
HOMEPAGE="http://www.qhull.org/"
DOWNLOAD="http://www.qhull.org/download/qhull-2003.1.tar.gz"
+DOWNLOAD_x86_64=""
MD5SUM="48228e26422bff85ef1f45df5b6e3314"
+MD5SUM_x86_64=""
MAINTAINER="Chris Abela"
EMAIL="chris.abela@maltats.com"
APPROVED="rworkman"