diff options
author | Chris Abela <chris.abela@maltats.com> | 2010-03-23 18:48:59 -0500 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-13 14:28:30 +0200 |
commit | 38cc93868a40543873b7656d97e8a8e381eaefe0 (patch) | |
tree | 37057101239a59f25082dc20879a55c425dd820e /academic/qhull/qhull.SlackBuild | |
parent | d0f4802865deeb2781f0f542b23475c4490f507c (diff) | |
download | slackbuilds-38cc93868a40543873b7656d97e8a8e381eaefe0.tar.gz |
academic/qhull: Updated for version 2010.1.
Diffstat (limited to 'academic/qhull/qhull.SlackBuild')
-rw-r--r-- | academic/qhull/qhull.SlackBuild | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/academic/qhull/qhull.SlackBuild b/academic/qhull/qhull.SlackBuild index d6e67a9d54..39d79e0b9a 100644 --- a/academic/qhull/qhull.SlackBuild +++ b/academic/qhull/qhull.SlackBuild @@ -3,13 +3,13 @@ # Slackware build script for qhull # Written by Chris Abela <chris.abela@maltats.com> -# April 2009 +# 2010.03.19 PRGNAM=qhull -VERSION=${VERSION:-2003.1} +VERSION=${VERSION:-2010.1} ARCH=${ARCH:-i486} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} CWD=$(pwd) TMP=${TMP:-/tmp/SBo} @@ -33,7 +33,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION-src.tgz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -42,11 +42,19 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +cd src +# Amongst other things, this caters for the octave SlackBuild +patch -Np0 -i $CWD/Make-config.sh.patch Make-config.sh +./Make-config.sh +cd - + CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --datarootdir=/usr \ + --docdir=/usr \ --disable-static \ --build=$ARCH-slackware-linux |