diff options
author | Chris Abela <chris.abela@maltats.com> | 2010-05-13 00:20:19 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:20:19 +0200 |
commit | 8021496c3030a3b984008b322defbd472bc7d7c6 (patch) | |
tree | 5301c3ac1e8d962ba917357dee11b2848b17c40c /academic/qhull/qhull.SlackBuild | |
parent | d47567c8d251fd5693c347a28d137dca88500e1b (diff) |
academic/qhull: Updated for version 2003.1
Diffstat (limited to 'academic/qhull/qhull.SlackBuild')
-rw-r--r-- | academic/qhull/qhull.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild index 7a5b45173f45f..d6e67a9d54add 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} |