summaryrefslogtreecommitdiff
path: root/gis/ossim
diff options
context:
space:
mode:
Diffstat (limited to 'gis/ossim')
-rw-r--r--gis/ossim/ossim.SlackBuild19
-rw-r--r--gis/ossim/ossim.info6
2 files changed, 12 insertions, 13 deletions
diff --git a/gis/ossim/ossim.SlackBuild b/gis/ossim/ossim.SlackBuild
index 54c0ff178f..903ddd1ec1 100644
--- a/gis/ossim/ossim.SlackBuild
+++ b/gis/ossim/ossim.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for ossim
-# Copyright 2018-2020 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2018-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -25,8 +25,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ossim
-RELNAM=OrchidIsland
-VERSION=${VERSION:-2.11.1}
+VERSION=${VERSION:-2.12.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$RELNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$RELNAM-$VERSION.tar.gz
-cd $PRGNAM-$RELNAM-$VERSION
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -77,11 +76,11 @@ sed -i "s/lib\b/lib${LIBDIRSUFFIX}/" CMakeLists.txt
mkdir -p build
cd build
cmake \
- -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
+ -DCMAKE_C_FLAGS="$SLKCFLAGS" \
+ -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DINSTALL_LIBRARY_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \
- -DINSTALL_ARCHIVE_DIR:PATH=/usr/lib${LIBDIRSUFFIX} \
+ -DINSTALL_LIBRARY_DIR=/usr/lib${LIBDIRSUFFIX} \
+ -DINSTALL_ARCHIVE_DIR=/usr/lib${LIBDIRSUFFIX} \
-DBUILD_OSSIM_TESTS=OFF \
-DBUILD_OSSIM_APPS=ON \
-DBUILD_OSSIM_FREETYPE_SUPPORT=ON \
diff --git a/gis/ossim/ossim.info b/gis/ossim/ossim.info
index 4484866bb7..1b6df8a8b5 100644
--- a/gis/ossim/ossim.info
+++ b/gis/ossim/ossim.info
@@ -1,8 +1,8 @@
PRGNAM="ossim"
-VERSION="2.11.1"
+VERSION="2.12.0"
HOMEPAGE="https://trac.osgeo.org/ossim/"
-DOWNLOAD="https://github.com/ossimlabs/ossim/archive/OrchidIsland-2.11.1/ossim-OrchidIsland-2.11.1.tar.gz"
-MD5SUM="7a24fe73e990e0d0f286b5675c0ab6e7"
+DOWNLOAD="https://github.com/ossimlabs/ossim/archive/2.12.0/ossim-2.12.0.tar.gz"
+MD5SUM="6b5930d3eca47555f4031480f8dc8847"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos jsoncpp libgeotiff"