mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
gis/pdal: Updated for version 2.6.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0c13523c4b
commit
eaf4fbaa3c
3 changed files with 19 additions and 30 deletions
|
@ -27,8 +27,8 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=pdal
|
||||
SRCNAM=PDAL
|
||||
VERSION=${VERSION:-2.6.0}
|
||||
BUILD=${BUILD:-2}
|
||||
VERSION=${VERSION:-2.6.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
||||
|
@ -104,21 +104,6 @@ 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 {} \;
|
||||
|
||||
# This patch prevents build failure caused by Libunwind
|
||||
# in pdal version 2.6.0 if is found in the system
|
||||
patch -p0 << 'EOF'
|
||||
--- ./cmake/unwind.cmake
|
||||
+++ ./cmake/unwind.cmake
|
||||
@@ -4,5 +4,5 @@
|
||||
|
||||
set(FPHSA_NAME_MISMATCHED 1) # Suppress warnings, see https://cmake.org/cmake/help/v3.17/module/FindPackageHandleStandardArgs.html
|
||||
-find_package(Libunwind QUIET)
|
||||
+find_package(Libunwind QUIET NO_MODULE)
|
||||
set(FPHSA_NAME_MISMATCHED 0)
|
||||
|
||||
|
||||
EOF
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake \
|
||||
|
@ -155,6 +140,10 @@ chmod 644 $PKG/usr/include/pdal/*/*.hpp
|
|||
chmod 644 $PKG/usr/include/pdal/*/*/*.hpp
|
||||
chmod 644 $PKG/usr/include/pdal/*/*/*/*.hpp
|
||||
|
||||
# Fix path of bash-completion
|
||||
mv $PKG/usr/share/share/* $PKG/usr/share
|
||||
rmdir $PKG/usr/share/share
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a \
|
||||
AUTHORS.txt CITATION LICENSE.txt README.md RELEASENOTES.txt \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="pdal"
|
||||
VERSION="2.6.0"
|
||||
VERSION="2.6.1"
|
||||
HOMEPAGE="https://pdal.io"
|
||||
DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.6.0/PDAL-2.6.0.tar.gz"
|
||||
MD5SUM="06d22eb8831c83766ceead3e5803a822"
|
||||
DOWNLOAD="https://github.com/PDAL/PDAL/archive/2.6.1/PDAL-2.6.1.tar.gz"
|
||||
MD5SUM="32d98957349ae788a89fd05e4c3ad598"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="gdal hdf5 libgeotiff netcdf postgresql"
|
||||
|
|
Loading…
Reference in a new issue