aboutsummaryrefslogtreecommitdiff
path: root/graphics/OpenCASCADE
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-07-14 12:19:33 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-07-17 07:49:55 +0700
commit6189c21842313258a5f6e43fdb880423f77141c4 (patch)
tree7e8f0bf503430e31891eb729db8d7cbf69eb861b /graphics/OpenCASCADE
parentb23225c6b1039e1ec16ab3e4367b9f35e8fc0339 (diff)
graphics/OpenCASCADE: Updated for version 6.9.1.
Moved libraries to /usr from /opt. Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'graphics/OpenCASCADE')
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.SlackBuild11
-rw-r--r--graphics/OpenCASCADE/OpenCASCADE.info6
2 files changed, 8 insertions, 9 deletions
diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
index ea0fb6e979739..881465f9dedb5 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
+++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild
@@ -25,7 +25,7 @@
# Maintained by David Spencer <baildon.research@googlemail.com>
PRGNAM=OpenCASCADE
-VERSION=${VERSION:-6.9.0}
+VERSION=${VERSION:-6.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -89,14 +89,14 @@ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS -DvtkFloatingPointType=double" \
./configure \
--prefix=/opt/${PRGNAM} \
- --libdir=/opt/${PRGNAM}/lib${LIBDIRSUFFIX} \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--with-tcl=/usr/lib${LIBDIRSUFFIX} \
--with-tk=/usr/lib${LIBDIRSUFFIX} \
- --with-vtk-library=/opt/VTK/lib${LIBDIRSUFFIX} \
- --with-vtk-include=/opt/VTK/include \
+ --with-vtk-library=/usr/lib${LIBDIRSUFFIX} \
+ --with-vtk-include=/usr/include/VTK \
--disable-debug \
--enable-production \
--build=$ARCH-slackware-linux
@@ -111,8 +111,7 @@ make install DESTDIR=$PKG
mv $PKG/opt/$PRGNAM/config.h $PKG/opt/$PRGNAM/src/
# Remove unnecessary (and confusing) files
rm -r $PKG/opt/$PRGNAM/Linux $PKG/opt/$PRGNAM/*.sh
-
-mkdir -p $PKG/opt/$PRGNAM/
+# Add some missed files
cp -a data samples $PKG/opt/$PRGNAM
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
diff --git a/graphics/OpenCASCADE/OpenCASCADE.info b/graphics/OpenCASCADE/OpenCASCADE.info
index 4c4689a17f195..a2bee3cabb28a 100644
--- a/graphics/OpenCASCADE/OpenCASCADE.info
+++ b/graphics/OpenCASCADE/OpenCASCADE.info
@@ -1,8 +1,8 @@
PRGNAM="OpenCASCADE"
-VERSION="6.9.0"
+VERSION="6.9.1"
HOMEPAGE="http://www.opencascade.org/"
-DOWNLOAD="http://files.opencascade.com/OCCT/OCC_6.9.0_release/opencascade-6.9.0.tgz"
-MD5SUM="ba87fe9f5ca47e3dfd62aad7223f0e7f"
+DOWNLOAD="https://sources.archlinux.org/other/community/opencascade/opencascade-6.9.1.tgz"
+MD5SUM="7f2e645b5010d190c9bb35dc457f9a7c"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="VTK"