gis/pktools: Remove libLAS support.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>
This commit is contained in:
Benjamin Trigona-Harany 2021-04-18 08:12:54 +02:00 committed by Robby Workman
parent 61d6c2360f
commit 44f43313d9
2 changed files with 3 additions and 8 deletions

View file

@ -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.

View file

@ -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