From 6189c21842313258a5f6e43fdb880423f77141c4 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Thu, 14 Jul 2016 12:19:33 +0100 Subject: graphics/OpenCASCADE: Updated for version 6.9.1. Moved libraries to /usr from /opt. Signed-off-by: David Spencer --- graphics/OpenCASCADE/OpenCASCADE.SlackBuild | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'graphics/OpenCASCADE/OpenCASCADE.SlackBuild') diff --git a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild index ea0fb6e979..881465f9de 100644 --- a/graphics/OpenCASCADE/OpenCASCADE.SlackBuild +++ b/graphics/OpenCASCADE/OpenCASCADE.SlackBuild @@ -25,7 +25,7 @@ # Maintained by David Spencer 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 \ -- cgit v1.2.3