svn commit: r447585 - in head/archivers: . c-blosc
Richard Gallamore
ultima at FreeBSD.org
Wed Aug 9 00:44:07 UTC 2017
Author: ultima
Date: Wed Aug 9 00:44:05 2017
New Revision: 447585
URL: https://svnweb.freebsd.org/changeset/ports/447585
Log:
Blosc is a high performance compressor optimized for binary data.
It has been designed to transmit data to the processor cache faster
than the traditional, non-compressed, direct memory fetch approach
via a memcpy() OS call. Blosc is the first compressor (that I'm aware of)
that is meant not only to reduce the size of large datasets on-disk or
in-memory, but also to accelerate memory-bound computations.
WWW: http://blosc.org/
PR: 220908
Submitted by: Iblis Lin (maintainer)
Reviewed by: matthew (mentor), mat
Approved by: matthew (mentor)
Differential Revision: https://reviews.freebsd.org/D11889
Added:
head/archivers/c-blosc/
head/archivers/c-blosc/Makefile (contents, props changed)
head/archivers/c-blosc/distinfo (contents, props changed)
head/archivers/c-blosc/pkg-descr (contents, props changed)
head/archivers/c-blosc/pkg-plist (contents, props changed)
Modified:
head/archivers/Makefile
Modified: head/archivers/Makefile
==============================================================================
--- head/archivers/Makefile Wed Aug 9 00:43:50 2017 (r447584)
+++ head/archivers/Makefile Wed Aug 9 00:44:05 2017 (r447585)
@@ -14,6 +14,7 @@
SUBDIR += brotli
SUBDIR += bzip
SUBDIR += bzip2
+ SUBDIR += c-blosc
SUBDIR += cabextract
SUBDIR += dact
SUBDIR += deb2targz
Added: head/archivers/c-blosc/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/c-blosc/Makefile Wed Aug 9 00:44:05 2017 (r447585)
@@ -0,0 +1,56 @@
+# Created by: iblis <iblis at hs.ntnu.edu.tw>
+# $FreeBSD$
+
+PORTNAME= c-blosc
+PORTVERSION= 1.12.1
+DISTVERSIONPREFIX= v
+CATEGORIES= archivers devel
+
+MAINTAINER= iblis at hs.ntnu.edu.tw
+COMMENT= Blocking, shuffling and loss-less compression library
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSES/BLOSC.txt
+
+USES= cmake compiler:c11
+USE_CSTD= c11
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= Blosc
+
+TEST_TARGET= test
+
+PLIST_SUB= VERSION="${PORTVERSION:R:R}" \
+ SOVERSION="${PORTVERSION}"
+
+CMAKE_ARGS= -DBUILD_SHARED=ON
+
+OPTIONS_DEFINE= STATIC TEST AVX2 LZ4 SNAPPY ZLIB ZSTD
+OPTIONS_DEFAULT= STATIC LZ4 SNAPPY ZLIB ZSTD
+OPTIONS_SUB= yes
+
+AVX2_DESC= Attempt to build with AVX2 instructions
+
+AVX2_CMAKE_BOOL_OFF= DEACTIVATE_AVX2
+
+LZ4_CMAKE_ON= -DPREFER_EXTERNAL_LZ4=ON
+LZ4_CMAKE_BOOL_OFF= DEACTIVATE_LZ4
+LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
+
+SNAPPY_CMAKE_ON= -DPREFER_EXTERNAL_SNAPPY=ON
+SNAPPY_CMAKE_BOOL_OFF= DEACTIVATE_SNAPPY
+SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy
+
+STATIC_CMAKE_BOOL= BUILD_STATIC
+
+TEST_CMAKE_BOOL= BUILD_TESTS BUILD_BENCHMARKS
+
+ZLIB_CMAKE_ON= -DPREFER_EXTERNAL_ZLIB=ON
+ZLIB_CMAKE_BOOL_OFF= DEACTIVATE_ZLIB
+
+ZSTD_CMAKE_ON= -DPREFER_EXTERNAL_ZSTD=ON
+ZSTD_CMAKE_BOOL_OFF= DEACTIVATE_ZSTD
+ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
+
+.include <bsd.port.mk>
Added: head/archivers/c-blosc/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/c-blosc/distinfo Wed Aug 9 00:44:05 2017 (r447585)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1500619085
+SHA256 (Blosc-c-blosc-v1.12.1_GH0.tar.gz) = e04535e816bb942bedc9a0ba209944d1eb34e26e2d9cca37f114e8ee292cb3c8
+SIZE (Blosc-c-blosc-v1.12.1_GH0.tar.gz) = 683510
Added: head/archivers/c-blosc/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/c-blosc/pkg-descr Wed Aug 9 00:44:05 2017 (r447585)
@@ -0,0 +1,8 @@
+Blosc is a high performance compressor optimized for binary data.
+It has been designed to transmit data to the processor cache faster
+than the traditional, non-compressed, direct memory fetch approach
+via a memcpy() OS call. Blosc is the first compressor (that I'm aware of)
+that is meant not only to reduce the size of large datasets on-disk or
+in-memory, but also to accelerate memory-bound computations.
+
+WWW: http://blosc.org/
Added: head/archivers/c-blosc/pkg-plist
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/archivers/c-blosc/pkg-plist Wed Aug 9 00:44:05 2017 (r447585)
@@ -0,0 +1,7 @@
+include/blosc-export.h
+include/blosc.h
+%%STATIC%%lib/libblosc.a
+lib/libblosc.so
+lib/libblosc.so.%%VERSION%%
+lib/libblosc.so.%%SOVERSION%%
+libdata/pkgconfig/blosc.pc
More information about the svn-ports-head
mailing list