diff options
author | Christoph Willing <chris.willing@linux.com> | 2018-05-25 14:40:24 +1000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-05-26 06:59:28 +0700 |
commit | bfea8b8bfc4be4927578c4daf25907c0163ca3c1 (patch) | |
tree | e8fad3530543aa4da216e1418e939c07ec032b8c /gis/osgEarth/osgEarth.SlackBuild | |
parent | 5ba53c12e0f1b143afa1295c52da43c9f2cfbd4f (diff) | |
download | slackbuilds-bfea8b8bfc4be4927578c4daf25907c0163ca3c1.tar.gz |
gis/osgEarth: Updated for version 2.9 + new maintainer
Signed-off-by: Christoph Willing <chris.willing@linux.com>
Diffstat (limited to 'gis/osgEarth/osgEarth.SlackBuild')
-rw-r--r-- | gis/osgEarth/osgEarth.SlackBuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gis/osgEarth/osgEarth.SlackBuild b/gis/osgEarth/osgEarth.SlackBuild index fd1e04a158..2677c42388 100644 --- a/gis/osgEarth/osgEarth.SlackBuild +++ b/gis/osgEarth/osgEarth.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for osgEarth # Copyright 2012 Alexander Bruy <alexander.bruy@gmail.com> +# Copyright 2018 Christoph Willing, Brisbane Australia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +25,7 @@ PRGNAM=osgEarth SRCNAM=osgearth -VERSION=${VERSION:-2.8} +VERSION=${VERSION:-2.9} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -62,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -cd $SRCNAM-$VERSION +cd $SRCNAM-$SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -70,16 +71,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# https://github.com/gwaldron/osgearth/pull/848 -patch -p1 < $CWD/geos-3_6_1-support.patch - mkdir -p build cd build cmake \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -lX11" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ -DCMAKE_BUILD_TYPE=Release .. \ -DDYNAMIC_OSGEARTH=ON make |