diff options
author | Christoph Willing <chris.willing@linux.com> | 2018-05-30 15:31:37 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-06-02 07:32:28 +0700 |
commit | 6b23339e21f05316b9c24b78c12df9b40232de79 (patch) | |
tree | c5de4de9d3a767f48e014351a00bcf786e991edd /libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild | |
parent | 7d48e6d17dff699e4e80742de5295c2dae2c30c3 (diff) | |
download | slackbuilds-6b23339e21f05316b9c24b78c12df9b40232de79.tar.gz |
libraries/OpenSceneGraph: Hide OpenCASCADE support (until 3.5.6)
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild')
-rw-r--r-- | libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild index a7319c1e01..a158f30565 100644 --- a/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild +++ b/libraries/OpenSceneGraph/OpenSceneGraph.SlackBuild @@ -8,7 +8,7 @@ PRGNAM=OpenSceneGraph VERSION=${VERSION:-3.5.5} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -39,16 +39,18 @@ else fi # Support OpenCASCADE, if installed -occ=""; ls -l /var/log/packages/OpenCASCADE* 2>/dev/null 1>/dev/null -[ $? -eq 0 ] && occ="-DOPENCASCADE_INCLUDE_DIR=/opt/OpenCASCADE/inc -DOPENCASCADE_LIBRARY_TYPE=Shared" +occ="" +# Not supported until version 3.5.6 +#ls -l /var/log/packages/OpenCASCADE* 2>/dev/null 1>/dev/null +#[ $? -eq 0 ] && occ="-DOPENCASCADE_INCLUDE_DIR=/opt/OpenCASCADE/inc -DOPENCASCADE_LIBRARY_TYPE=Shared" set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xf $CWD/$PRGNAM-$VERSION.tar.gz +rm -rf $PRGNAM-$PRGNAM-$VERSION +tar xf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$PRGNAM-$VERSION chown -R root:root . find -L . \ |