New package: libpdal-2.5.6
This commit is contained in:
parent
a636c3bf9e
commit
412ad2f494
|
@ -0,0 +1 @@
|
|||
libpdal
|
|
@ -0,0 +1 @@
|
|||
libpdal-devel
|
|
@ -0,0 +1,42 @@
|
|||
# Template file for 'libpdal'
|
||||
pkgname=libpdal
|
||||
version=2.5.6
|
||||
revision=1
|
||||
build_style=cmake
|
||||
build_helper="qemu"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libcurl-devel libgdal-devel libgeotiff-devel libunwind-devel
|
||||
libxml2-devel python3-devel tiff-devel zlib-devel"
|
||||
checkdepends="libgdal-tools"
|
||||
short_desc="Point Data Abstraction Library"
|
||||
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="https://pdal.io/"
|
||||
distfiles="https://github.com/PDAL/PDAL/releases/download/${version}/PDAL-${version}-src.tar.gz"
|
||||
checksum=c4f51e7bb9843ecc5d51c47aad87d8ddbd919111fb49222294c5835be7c1fa85
|
||||
|
||||
do_check() {
|
||||
cd build
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
i686*) ctest -E \
|
||||
"pdal_(app_plugin|file_utils|filters_colorinterp|filters_stats|io_optech)_test" ;;
|
||||
x86_64*) ctest -E 'pdal_app_plugin_test' ;;
|
||||
*) ctest ;;
|
||||
esac
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.txt
|
||||
}
|
||||
|
||||
libpdal-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove usr/bin/pdal-config
|
||||
vmove usr/include
|
||||
vmove usr/lib/pkgconfig
|
||||
vmove usr/lib/cmake
|
||||
vmove "usr/lib/*.so"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue