APKBUILD 905 Bytes
Newer Older
1 2 3
# Contributor: Bradley J Chambers <brad.chambers@gmail.com>
# Maintainer: Bradley J Chambers <brad.chambers@gmail.com>
pkgname=laszip
4
pkgver=3.1.1
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
pkgrel=0
pkgdesc="LASzip point cloud compression library"
url="https://github.com/laszip/laszip"
arch="all"
license="LGPL2+"
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
}

32
sha512sums="c0738bc766b1a1d19491507bb1b104fb259683facb41a13f362ae12e2b0be7b8771ae0fee3c24e810aa0b0676fd1766c1e65b68ec7accfcb4fdba5685c422ab0  laszip-3.1.1.tar.gz"