diff options
-rw-r--r-- | gis/pdal/README | 2 | ||||
-rw-r--r-- | gis/pdal/pdal.SlackBuild | 33 | ||||
-rw-r--r-- | gis/pdal/pdal.info | 8 |
3 files changed, 15 insertions, 28 deletions
diff --git a/gis/pdal/README b/gis/pdal/README index 703a9e4322..ebca06e75b 100644 --- a/gis/pdal/README +++ b/gis/pdal/README @@ -5,3 +5,5 @@ from the ever-growing constellation of data formats that are being developed for working with multi-dimensional emitted-pulse scanning systems. While PDAL is not explicitly limited to working with LiDAR data formats, its initial rollout is focused in that area. + +Optional dependencies: jsoncpp, laszip. diff --git a/gis/pdal/pdal.SlackBuild b/gis/pdal/pdal.SlackBuild index d8687d8045..9d563d739b 100644 --- a/gis/pdal/pdal.SlackBuild +++ b/gis/pdal/pdal.SlackBuild @@ -23,12 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pdal -VERSION=${VERSION:-1.5.0} +SRCNAM=PDAL +VERSION=${VERSION:-1.6} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -SRCNAM=PDAL - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i586 ;; @@ -62,11 +61,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $SRCNAM-$VERSION -if [ -e $CWD/$VERSION.tar.gz ]; then - tar xvf $CWD/$VERSION.tar.gz -else - tar xvf $CWD/$SRCNAM-$VERSION.tar.gz -fi +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz cd $SRCNAM-$VERSION chown -R root:root . find -L . \ @@ -83,22 +78,12 @@ cd build -DCMAKE_CXX_FLAGS="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DLIB_SUFFIX=$LIBDIRSUFFIX \ - -DPDAL_BOOST_EMBED=OFF \ - -DWITH_GDAL=ON \ - -DWITH_ICONV=ON \ - -DWITH_GEOTIFF=ON \ - -DWITH_LIBXML2=ON \ - -DWITH_LASZIP=ON \ - -DWITH_ORACLE=OFF \ - -DWITH_PYTHON=OFF \ - -DWITH_FLANN=OFF \ - -DWITH_P2G=OFF \ - -DWITH_SOCI=OFF \ - -DWITH_PGPOINTCLOUD=ON \ - -DLASZIP_LIBRARY=/usr/lib${LIBDIRSUFFIX}/liblaszip.so \ + -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \ + -DBUILD_PGPOINTCLOUD_TESTS=OFF \ + -DBUILD_PLUGIN_PYTHON=ON \ + -DBUILD_PLUGIN_PGPOINTCLOUD=ON \ .. - make VERBOSE=1 + make make install DESTDIR=$PKG cd .. @@ -106,7 +91,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS.txt LICENSE.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS.txt ChangeLog LICENSE.txt README.md RELEASENOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/gis/pdal/pdal.info b/gis/pdal/pdal.info index f68ca4a4a8..40f604e991 100644 --- a/gis/pdal/pdal.info +++ b/gis/pdal/pdal.info @@ -1,10 +1,10 @@ PRGNAM="pdal" -VERSION="1.5.0" +VERSION="1.6" HOMEPAGE="http://pointcloud.org" -DOWNLOAD="https://github.com/PDAL/PDAL/archive/1.5.0.tar.gz" -MD5SUM="622ab47d7483f7370bf915fd1ae312c7" +DOWNLOAD="https://github.com/PDAL/PDAL/archive/1.6/PDAL-1.6.tar.gz" +MD5SUM="efb0c200e1ade74e979f4fa141da63e2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gdal laszip libgeotiff postgresql" +REQUIRES="gdal libgeotiff numpy postgresql" MAINTAINER="Benjamin Trigona-Harany" EMAIL="slackbuilds@jaxartes.net" |