summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorbacon <bacon@pkgsrc.org>2019-04-29 15:51:23 +0000
committerbacon <bacon@pkgsrc.org>2019-04-29 15:51:23 +0000
commiteb890bc6420ff925f9a4e7ac2de0f06cc1019cd8 (patch)
tree8d10f1b9ebbd78253b8532eb133249148fd92cad /archivers
parent53f2975ea48f9626f5cd7416559c87074ba11dd2 (diff)
downloadpkgsrc-eb890bc6420ff925f9a4e7ac2de0f06cc1019cd8.tar.gz
archivers/libaec: import libaec-1.0.4
Libaec provides fast lossless compression of 1 up to 32 bit wide signed or unsigned integers (samples). The library achieves best results for low entropy data as often encountered in space imaging instrument data or numerical model output from weather or climate simulations. While floating point representations are not directly supported, they can also be efficiently coded by grouping exponents and mantissa. Libaec implements Golomb-Rice coding as defined in the Space Data System Standard documents 121.0-B-2 and 120.0-G-2. Libaec includes a free drop-in replacement for the SZIP library.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libaec/DESCR11
-rw-r--r--archivers/libaec/Makefile23
-rw-r--r--archivers/libaec/PLIST7
-rw-r--r--archivers/libaec/buildlink3.mk12
-rw-r--r--archivers/libaec/distinfo6
5 files changed, 59 insertions, 0 deletions
diff --git a/archivers/libaec/DESCR b/archivers/libaec/DESCR
new file mode 100644
index 00000000000..3169ebdaec1
--- /dev/null
+++ b/archivers/libaec/DESCR
@@ -0,0 +1,11 @@
+Libaec provides fast lossless compression of 1 up to 32 bit wide signed
+or unsigned integers (samples). The library achieves best results for
+low entropy data as often encountered in space imaging instrument data or
+numerical model output from weather or climate simulations. While floating
+point representations are not directly supported, they can also be efficiently
+coded by grouping exponents and mantissa.
+
+Libaec implements Golomb-Rice coding as defined in the Space Data System
+Standard documents 121.0-B-2 and 120.0-G-2.
+
+Libaec includes a free drop-in replacement for the SZIP library.
diff --git a/archivers/libaec/Makefile b/archivers/libaec/Makefile
new file mode 100644
index 00000000000..4677e85ea67
--- /dev/null
+++ b/archivers/libaec/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/04/29 15:51:23 bacon Exp $
+
+DISTNAME= libaec-1.0.4
+CATEGORIES= archivers
+MASTER_SITES= https://gitlab.dkrz.de/k202009/libaec/uploads/ea0b7d197a950b0c110da8dfdecbb71f/
+
+MAINTAINER= bacon@NetBSD.org
+HOMEPAGE= https://gitlab.dkrz.de/k202009/libaec
+COMMENT= Adaptive entropy coding library
+LICENSE= 2-clause-bsd
+
+CONFLICTS= szip-[0-9]*
+
+USE_TOOLS+= autoconf automake autoreconf
+USE_LIBTOOL= yes
+GNU_CONFIGURE= yes
+INSTALL_TARGET= install-strip
+TEST_TARGET= check
+
+pre-configure:
+ cd ${WRKSRC} && autoreconf -if
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/libaec/PLIST b/archivers/libaec/PLIST
new file mode 100644
index 00000000000..8fc3623341b
--- /dev/null
+++ b/archivers/libaec/PLIST
@@ -0,0 +1,7 @@
+@comment $NetBSD: PLIST,v 1.1 2019/04/29 15:51:23 bacon Exp $
+bin/aec
+include/libaec.h
+include/szlib.h
+lib/libaec.la
+lib/libsz.la
+man/man1/aec.1
diff --git a/archivers/libaec/buildlink3.mk b/archivers/libaec/buildlink3.mk
new file mode 100644
index 00000000000..9693e3de0ac
--- /dev/null
+++ b/archivers/libaec/buildlink3.mk
@@ -0,0 +1,12 @@
+# $NetBSD: buildlink3.mk,v 1.1 2019/04/29 15:51:23 bacon Exp $
+
+BUILDLINK_TREE+= libaec
+
+.if !defined(LIBAEC_BUILDLINK3_MK)
+LIBAEC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libaec+= libaec>=1.0.4
+BUILDLINK_PKGSRCDIR.libaec?= ../../archivers/libaec
+.endif # LIBAEC_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -libaec
diff --git a/archivers/libaec/distinfo b/archivers/libaec/distinfo
new file mode 100644
index 00000000000..849289ac880
--- /dev/null
+++ b/archivers/libaec/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/04/29 15:51:23 bacon Exp $
+
+SHA1 (libaec-1.0.4.tar.gz) = 17a3972aee6d5d4c46c724f3a8a57f8e0161a806
+RMD160 (libaec-1.0.4.tar.gz) = e41987d68a1bd5325c9016bb161b51a2b845f81a
+SHA512 (libaec-1.0.4.tar.gz) = 3873b51986f8a05202c44ea3eb0f2f9125869a29367473dc3f6de4d67a0ecc4245787eaf979760254001ae289ffe588cf065c73153a0ef9eb8ed20641bcbf0ad
+Size (libaec-1.0.4.tar.gz) = 3120061 bytes