diff options
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 67e43142286a1..ec8f8a6b1ba29 100644 --- a/academic/qhull/qhull.SlackBuild +++ b/academic/qhull/qhull.SlackBuild @@ -24,7 +24,8 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=qhull -VERSION=${VERSION:-2012.1} +VERSION=${VERSION:-2015.2} +BUILD_VERSION=${BUILD_VERSION:-7.2.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -61,7 +62,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION-src.tgz +tar xvf $CWD/$PRGNAM-${VERSION%.*}-src-${BUILD_VERSION}.tgz cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -76,7 +77,9 @@ cd build -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DBIN_INSTALL_DIR=/usr/bin \ -DLIB_INSTALL_DIR=/usr/lib${LIBDIRSUFFIX} \ + -DINCLUDE_INSTALL_DIR=/usr/include \ -DMAN_INSTALL_DIR=/usr/man/man1 \ -DDOC_INSTALL_DIR=/usr/doc/$PRGNAM-$VERSION \ -DCMAKE_BUILD_TYPE=Release .. |