diff options
author | Bradley J Chambers <brad.chambers@gmail.com> | 2017-08-29 10:02:56 -0400 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2017-09-20 15:38:10 +0000 |
commit | 0714726f4b8d8331c71dc4bd2008f552437eb7cd (patch) | |
tree | 28d102ed8994695a48181ff27d4769c5b1659e82 /testing/pdal/APKBUILD | |
parent | 9e67e8ccd4bb07a8737e33d437d71985cb7a2e93 (diff) | |
download | aports-0714726f4b8d8331c71dc4bd2008f552437eb7cd.tar.bz2 aports-0714726f4b8d8331c71dc4bd2008f552437eb7cd.tar.xz |
testing/pdal: new aport
https://www.pdal.io
PDAL is a C++ BSD library for translating and manipulating point cloud data.
Diffstat (limited to 'testing/pdal/APKBUILD')
-rw-r--r-- | testing/pdal/APKBUILD | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/testing/pdal/APKBUILD b/testing/pdal/APKBUILD new file mode 100644 index 0000000000..61449a9d27 --- /dev/null +++ b/testing/pdal/APKBUILD @@ -0,0 +1,50 @@ +# Contributor: Bradley J Chambers <brad.chambers@gmail.com> +# Maintainer: Bradley J Chambers <brad.chambers@gmail.com> +pkgname=pdal +pkgver=1.5.0 +pkgrel=0 +pkgdesc="PDAL" +url="https://github.com/pdal/pdal" +arch="all" +license="BSD" +depends="nitro python py-numpy" +makedepends="cmake eigen-dev hexer-dev nitro-dev gdal-dev geos-dev laz-perf-dev libgeotiff-dev libxml2-dev python-dev py-numpy-dev jsoncpp-dev hdf5-dev proj4-dev cpd-dev fgt-dev sqlite-dev postgresql-dev curl-dev laszip-dev libspatialite-dev linux-headers" +install="" +subpackages="$pkgname-dev" +source="$pkgname-$pkgver.tar.gz::https://github.com/pdal/$pkgname/archive/$pkgver.tar.gz + 10-backtrace-guards.patch" +builddir="$srcdir/PDAL-$pkgver" + +build() { + cd "$builddir" + + mkdir build && cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DBUILD_PLUGIN_PYTHON=ON \ + -DBUILD_PLUGIN_CPD=ON \ + -DBUILD_PLUGIN_GREYHOUND=ON \ + -DBUILD_PLUGIN_HEXBIN=ON \ + -DBUILD_PLUGIN_NITF=ON \ + -DBUILD_PLUGIN_ICEBRIDGE=ON \ + -DBUILD_PLUGIN_PGPOINTCLOUD=ON \ + -DBUILD_PLUGIN_SQLITE=ON \ + -DWITH_LASZIP=ON \ + -DWITH_LAZPERF=ON + make +} + +package() { + cd "$builddir"/build + make DESTDIR="$pkgdir" install +} + +dev() { + default_dev + mv "$subpkgdir"/usr/lib/* "$pkgdir"/usr/lib/ + rm -r "$subpkgdir"/usr/lib +} + +sha512sums="666c7f45fbe22d2d7a913b2ffa171a9727cdcd41856f52035ab0b4aec26c5569098710276f1144802d07bbc9e2656209ce1b2ff363a036c8c2d13ef2771c0657 pdal-1.5.0.tar.gz +ef852ee36e6135d9812e41831417f97c67eada703f9d6252b690935359f70288ec56b34fdc2846f36ce9c9ee1276dae1bf17af7839d9ed11083b63b8a118cf7c 10-backtrace-guards.patch" |