aports/testing/laszip/APKBUILD
2019-11-12 11:22:49 -03:00

30 lines
821 B
Plaintext

# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=laszip
pkgver=3.4.3
pkgrel=0
pkgdesc="LASzip point cloud compression library"
url="https://github.com/laszip/laszip"
arch="all"
license="LGPL-2.0-or-later"
options="!check"
makedepends="cmake"
subpackages="$pkgname-dev"
source="laszip-$pkgver.tar.gz::https://github.com/LASzip/laszip/archive/$pkgver.tar.gz"
builddir="$srcdir"/LASzip-"$pkgver"
build() {
mkdir build && cd build
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release
make
}
package() {
cd "$builddir"/build
make DESTDIR="$pkgdir" install
}
sha512sums="e99d03b7383d07d35463c9d1643787ec5030722d80798b4d9eb2a7935d3181ea6485e298589023814c21fc89851dd7c5232a65b4c9041ccccf1450b80d293268 laszip-3.4.3.tar.gz"