Add libaec 1.0.0

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. Just replace
SZIP's shared library libsz.so* with libaec.so* and libsz.so* from libaec. Code
which is dynamically linked with SZIP such as HDF5 should continue to work with
libaec. No re-compilation required. HDF5 files which contain SZIP encoded data
can be decoded by HDF5 using libaec and vice versa.

WWW: https://gitlab.dkrz.de/k202009/libaec
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-01-01 01:47:21 +00:00
parent 60b4f2bd0e
commit f94c424839
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430225
6 changed files with 60 additions and 0 deletions

View File

@ -68,6 +68,7 @@
SUBDIR += kalzium
SUBDIR += kst2
SUBDIR += lamprop
SUBDIR += libaec
SUBDIR += libctl
SUBDIR += libghemical
SUBDIR += libint

26
science/libaec/Makefile Normal file
View File

@ -0,0 +1,26 @@
# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
# $FreeBSD$
PORTNAME= libaec
PORTVERSION= 1.0.0
CATEGORIES= science
MASTER_SITES= https://gitlab.dkrz.de/k202009/libaec/repository/archive.tar.bz2?ref=v${PORTVERSION}&dummy=/ \
LOCAL/sunpoet
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Adaptive entropy coding library
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/COPYING
CONFLICTS_INSTALL= hdf-szip-
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
USE_LDCONFIG= yes
USES= autoreconf libtool tar:bz2
GL_TAGNAME= 351b61ebdfd2a3c02c7227df4a13d106d79418f8
WRKSRC= ${WRKDIR}/${PORTNAME}-v${PORTVERSION}-${GL_TAGNAME}
.include <bsd.port.mk>

3
science/libaec/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1483205683
SHA256 (libaec-1.0.0.tar.bz2) = 9b4e1bc2f1d531b9b0f7dbb49caaa5e6e6119c50d412bf8cb49be60ae25289b5
SIZE (libaec-1.0.0.tar.bz2) = 776442

17
science/libaec/pkg-descr Normal file
View File

@ -0,0 +1,17 @@
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. Just replace
SZIP's shared library libsz.so* with libaec.so* and libsz.so* from libaec. Code
which is dynamically linked with SZIP such as HDF5 should continue to work with
libaec. No re-compilation required. HDF5 files which contain SZIP encoded data
can be decoded by HDF5 using libaec and vice versa.
WWW: https://gitlab.dkrz.de/k202009/libaec

11
science/libaec/pkg-plist Normal file
View File

@ -0,0 +1,11 @@
bin/aec
include/libaec.h
include/szlib.h
lib/libaec.a
lib/libaec.so
lib/libaec.so.0
lib/libaec.so.0.0.6
lib/libsz.a
lib/libsz.so
lib/libsz.so.2
lib/libsz.so.2.0.1

View File

@ -16,6 +16,8 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Lossless compression library for scientific data
CONFLICTS_INSTALL= libaec-
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes