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.
This commit is contained in:
bacon 2019-04-29 15:51:23 +00:00
parent 9460dc889c
commit f422e3411d
5 changed files with 59 additions and 0 deletions

11
archivers/libaec/DESCR Normal file
View file

@ -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.

23
archivers/libaec/Makefile Normal file
View file

@ -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"

7
archivers/libaec/PLIST Normal file
View file

@ -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

View file

@ -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

View file

@ -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