From 050656e90de50606c8911b230f0e30c2c513fffb Mon Sep 17 00:00:00 2001 From: landry Date: Mon, 23 Mar 2020 13:15:22 +0000 Subject: [PATCH] Import laszip 3.4.3. LASzip quickly turns bulky LAS files into compact LAZ files without information loss and is the de-facto standard for LiDAR compression. LASzip compression can be many times smaller and many times faster than generic compressors like bz2, gzip, and rar because it knows what the different bytes in a LAS file represent. with tweaks from & ok sthen@ jca@ --- archivers/laszip/Makefile | 30 ++++++++++++++++++++++++++++++ archivers/laszip/distinfo | 2 ++ archivers/laszip/pkg/DESCR | 9 +++++++++ archivers/laszip/pkg/PLIST | 6 ++++++ 4 files changed, 47 insertions(+) create mode 100644 archivers/laszip/Makefile create mode 100644 archivers/laszip/distinfo create mode 100644 archivers/laszip/pkg/DESCR create mode 100644 archivers/laszip/pkg/PLIST diff --git a/archivers/laszip/Makefile b/archivers/laszip/Makefile new file mode 100644 index 00000000000..04da22f9bb0 --- /dev/null +++ b/archivers/laszip/Makefile @@ -0,0 +1,30 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2020/03/23 13:15:22 landry Exp $ + +COMMENT = lossless LiDAR compression + +V = 3.4.3 +DISTNAME = laszip-src-${V} +PKGNAME = laszip-${V} + +SHARED_LIBS = laszip 0.0 \ + laszip_api 0.0 # 8.0.5 + +CATEGORIES = converters textproc archivers + +HOMEPAGE = https://laszip.org/ + +# LGPLv2.1 +PERMIT_PACKAGE = Yes + +WANTLIB += m ${COMPILER_LIBCXX} + +MASTER_SITES = https://github.com/LASzip/LASzip/releases/download/${V}/ + +#c++11 +COMPILER = base-clang ports-gcc + +MODULES = devel/cmake + +NO_TEST = Yes + +.include diff --git a/archivers/laszip/distinfo b/archivers/laszip/distinfo new file mode 100644 index 00000000000..04eec9993bf --- /dev/null +++ b/archivers/laszip/distinfo @@ -0,0 +1,2 @@ +SHA256 (laszip-src-3.4.3.tar.gz) = U/VGp/BvyWmzjR1xzOsYYrT8LEoJZRkaDu6BpXx7Nz0= +SIZE (laszip-src-3.4.3.tar.gz) = 219534 diff --git a/archivers/laszip/pkg/DESCR b/archivers/laszip/pkg/DESCR new file mode 100644 index 00000000000..3df787bb2c3 --- /dev/null +++ b/archivers/laszip/pkg/DESCR @@ -0,0 +1,9 @@ +LASzip quickly turns bulky LAS files into compact LAZ files without +information loss and is the de-facto standard for LiDAR compression. + +LASzip compression can be many times smaller and many times faster than +generic compressors like bz2, gzip, and rar because it knows what the +different bytes in a LAS file represent. Another advantage of LASzip is +that it allows you to treat compressed LAZ files just like standard LAS +files. You can load them directly from compressed form into your +application without needing to decompress them onto disk first. diff --git a/archivers/laszip/pkg/PLIST b/archivers/laszip/pkg/PLIST new file mode 100644 index 00000000000..3e5ffebb44f --- /dev/null +++ b/archivers/laszip/pkg/PLIST @@ -0,0 +1,6 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2020/03/23 13:15:22 landry Exp $ +include/laszip/ +include/laszip/laszip_api.h +include/laszip/laszip_api_version.h +@lib lib/liblaszip.so.${LIBlaszip_VERSION} +@lib lib/liblaszip_api.so.${LIBlaszip_api_VERSION}