aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-18 08:03:57 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 02:00:32 -0500
commit61d6c2360f8edcb47c01060d49952ddb5952e3d3 (patch)
tree09b56c832c93eafad9ee18c9bcf924eddcddc810 /gis
parent50b806b7137be5c6fb30587ad9eef4d0be54d012 (diff)
gis/ossim: Updated for version 2.12.0.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis')
-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 54c0ff178fc6d..903ddd1ec14ad 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 4484866bb7088..1b6df8a8b510e 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"