mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 15:12:02 +01:00
33 lines
916 B
Plaintext
33 lines
916 B
Plaintext
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
|
|
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
|
|
pkgname=laszip
|
|
pkgver=3.2.2
|
|
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"
|
|
install=""
|
|
subpackages="$pkgname-dev"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/LASzip/$pkgname/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir"/LASzip-"$pkgver"
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
|
|
mkdir build && cd build
|
|
cmake .. \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_BUILD_TYPE=Release
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"/build
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="c4dac1fd525b1889fa8cc77f168bc3c83053619402ec13ac0ae58665cfd4440b9135ce30c4ade925a0ac9db7e3f717344859e511b2207841c84dc2453c6cf7f7 laszip-3.2.2.tar.gz"
|