Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F158229717
D11889.id31633.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D11889.id31633.diff
View Options
Index: archivers/Makefile
===================================================================
--- archivers/Makefile
+++ archivers/Makefile
@@ -14,6 +14,7 @@
SUBDIR += brotli
SUBDIR += bzip
SUBDIR += bzip2
+ SUBDIR += c-blosc
SUBDIR += cabextract
SUBDIR += dact
SUBDIR += deb2targz
Index: archivers/c-blosc/Makefile
===================================================================
--- /dev/null
+++ archivers/c-blosc/Makefile
@@ -0,0 +1,61 @@
+# Created by: iblis <iblis@hs.ntnu.edu.tw>
+# $FreeBSD$
+
+PORTNAME= c-blosc
+PORTVERSION= 1.12.1
+DISTVERSIONPREFIX= v
+CATEGORIES= archivers devel
+
+MAINTAINER= iblis@hs.ntnu.edu.tw
+COMMENT= Blocking, shuffling and loss-less compression library
+
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSES/BLOSC.txt
+
+USES= cmake
+USE_LDCONFIG= yes
+
+USE_GITHUB= yes
+GH_ACCOUNT= Blosc
+GH_PROJECT= c-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
+
+STATIC_CMAKE_ON= -DBUILD_STATIC=ON
+STATIC_CMAKE_OFF= -DBUILD_STATIC=OFF
+
+TEST_CMAKE_ON= -DBUILD_TESTS=ON -DBUILD_BENCHMARKS=ON
+TEST_CMAKE_OFF= -DBUILD_TESTS=OFF -DBUILD_BENCHMARKS=OFF
+
+AVX2_DESC= Attempt to build with AVX2 instructions
+AVX2_CMAKE_ON= -DDEACTIVATE_AVX2=OFF
+AVX2_CMAKE_OFF= -DDEACTIVATE_AVX2=ON
+
+LZ4_CMAKE_ON= -DDEACTIVATE_LZ4=OFF -DPREFER_EXTERNAL_LZ4=ON
+LZ4_CMAKE_OFF= -DDEACTIVATE_LZ4=ON
+LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
+
+SNAPPY_CMAKE_ON= -DDEACTIVATE_SNAPPY=OFF \
+ -DPREFER_EXTERNAL_SNAPPY=ON
+SNAPPY_CMAKE_OFF= -DDEACTIVATE_SNAPPY=ON
+SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy
+
+ZLIB_CMAKE_ON= -DDEACTIVATE_ZLIB=OFF \
+ -DPREFER_EXTERNAL_ZLIB=ON
+ZLIB_CMAKE_OFF= -DDEACTIVATE_ZLIB=ON
+
+ZSTD_CMAKE_ON= -DDEACTIVATE_ZSTD=OFF \
+ -DPREFER_EXTERNAL_ZSTD=ON
+ZSTD_CMAKE_OFF= -DDEACTIVATE_ZSTD=ON
+ZSTD_LIB_DEPENDS= libzstd.so:archivers/zstd
+
+.include <bsd.port.mk>
Index: archivers/c-blosc/distinfo
===================================================================
--- /dev/null
+++ archivers/c-blosc/distinfo
@@ -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
Index: archivers/c-blosc/pkg-descr
===================================================================
--- /dev/null
+++ archivers/c-blosc/pkg-descr
@@ -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/
Index: archivers/c-blosc/pkg-plist
===================================================================
--- /dev/null
+++ archivers/c-blosc/pkg-plist
@@ -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
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, May 31, 2:22 AM (13 h, 5 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33643784
Default Alt Text
D11889.id31633.diff (3 KB)
Attached To
Mode
D11889: [NEW PORT] archivers/c-blosc: Blocking, shuffling and loss-less compression library
Attached
Detach File
Event Timeline
Log In to Comment