aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorBenjamin Trigona-Harany <slackbuilds@jaxartes.net>2021-04-18 08:12:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2021-04-18 02:00:32 -0500
commit44f43313d935b3778cf90763c7eb6b1f8d7a9a44 (patch)
tree5a8dba2086fef4bb9e951d4546b3fcabfcf3bba4 /gis
parent61d6c2360f8edcb47c01060d49952ddb5952e3d3 (diff)
gis/pktools: Remove libLAS support.
Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
Diffstat (limited to 'gis')
-rw-r--r--gis/pktools/README5
-rw-r--r--gis/pktools/pktools.SlackBuild6
2 files changed, 3 insertions, 8 deletions
diff --git a/gis/pktools/README b/gis/pktools/README
index 1aa9d4642faba..f95ccab2a8389 100644
--- a/gis/pktools/README
+++ b/gis/pktools/README
@@ -2,8 +2,5 @@ pktools is a suite of utilities written in C++ for image processing with a
focus on remote sensing applications. It relies on the Geospatial Data
Abstraction Library and OGR.
-Optional dependencies
-
If the fann SlackBuild is installed, support can be added by passing
-FANN=ON. If the libLAS SlackBuild is installed, support can be added by
-passing LIBLAS=ON.
+FANN=ON.
diff --git a/gis/pktools/pktools.SlackBuild b/gis/pktools/pktools.SlackBuild
index ca31debb15cec..0ef3c9ec4c701 100644
--- a/gis/pktools/pktools.SlackBuild
+++ b/gis/pktools/pktools.SlackBuild
@@ -2,7 +2,7 @@
# SlackBuild script for pktools
-# Copyright 2017-2018 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
+# Copyright 2017-2021 Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
@@ -27,7 +27,7 @@
PRGNAM=pktools
SRCNAM=$(echo $PRGNAM | tr "[a-z]" "[A-Z]")
VERSION=${VERSION:-2.6.7.6}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -73,7 +73,6 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
WITH_FANN=${FANN:-OFF}
-WITH_LIBLAS=${LIBLAS:-OFF}
mkdir -p build
cd build
@@ -85,7 +84,6 @@ cd build
-DINSTALL_LIBRARY_DIR=lib${LIBDIRSUFFIX} \
-DBUILD_SHARED_LIBS=ON \
-DBUILD_WITH_FANN=$WITH_FANN \
- -DBUILD_WITH_LIBLAS=$WITH_LIBLAS \
..
make