pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Import blosc-1.2.1



Module Name:	pkgsrc-wip
Committed By:	Min Sik Kim <minskim%NetBSD.org@localhost>
Pushed By:	minskim
Date:		Tue Sep 12 17:57:30 2017 -0700
Changeset:	647df9fb39cb83412e87c6d30e926678b59199d3

Modified Files:
	Makefile
Added Files:
	blosc/DESCR
	blosc/Makefile
	blosc/PLIST
	blosc/buildlink3.mk
	blosc/distinfo

Log Message:
Import blosc-1.2.1

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 is meant not only
to reduce the size of large datasets on-disk or in-memory, but also to
accelerate memory-bound computations.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=647df9fb39cb83412e87c6d30e926678b59199d3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile            |  1 +
 blosc/DESCR         |  6 ++++++
 blosc/Makefile      | 31 +++++++++++++++++++++++++++++++
 blosc/PLIST         |  8 ++++++++
 blosc/buildlink3.mk | 13 +++++++++++++
 blosc/distinfo      |  6 ++++++
 6 files changed, 65 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 5c316e7670..e872f612a1 100644
--- a/Makefile
+++ b/Makefile
@@ -240,6 +240,7 @@ SUBDIR+=	blasr
 SUBDIR+=	blasr_libcpp
 SUBDIR+=	bleachbit
 SUBDIR+=	blink
+SUBDIR+=	blosc
 SUBDIR+=	blueproxy
 SUBDIR+=	bluez-gnome
 SUBDIR+=	bluez-hcidump
diff --git a/blosc/DESCR b/blosc/DESCR
new file mode 100644
index 0000000000..3ca8238ec1
--- /dev/null
+++ b/blosc/DESCR
@@ -0,0 +1,6 @@
+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 is meant not only
+to reduce the size of large datasets on-disk or in-memory, but also to
+accelerate memory-bound computations.
diff --git a/blosc/Makefile b/blosc/Makefile
new file mode 100644
index 0000000000..863c046aa9
--- /dev/null
+++ b/blosc/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD$
+
+GITHUB_PROJECT=	c-blosc
+DISTNAME=	v1.12.1
+PKGNAME=	${GITHUB_PROJECT:S/c-//}-${DISTNAME:S/v//}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GITHUB:=Blosc/}
+DIST_SUBDIR=	${GITHUB_PROJECT}
+
+MAINTAINER=	minskim%NetBSD.org@localhost
+HOMEPAGE=	http://blosc.org/
+COMMENT=	Blocking, shuffling, and lossless compression library
+LICENSE=	modified-bsd
+
+WRKSRC=		${WRKDIR}/${GITHUB_PROJECT}-${PKGVERSION_NOREV}
+USE_CMAKE=	yes
+USE_TOOLS+=	pkg-config
+USE_LANGUAGES=	c c++
+
+CMAKE_ARGS+=	-DPREFER_EXTERNAL_LZ4=ON
+CMAKE_ARGS+=	-DPREFER_EXTERNAL_SNAPPY=ON
+CMAKE_ARGS+=	-DPREFER_EXTERNAL_ZLIB=ON
+CMAKE_ARGS+=	-DPREFER_EXTERNAL_ZSTD=ON
+
+PKGCONFIG_OVERRIDE+=	blosc.pc.in
+
+.include "../../archivers/lz4/buildlink3.mk"
+.include "../../archivers/zstd/buildlink3.mk"
+.include "../../devel/snappy/buildlink3.mk"
+.include "../../devel/zlib/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/blosc/PLIST b/blosc/PLIST
new file mode 100644
index 0000000000..266246953c
--- /dev/null
+++ b/blosc/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD$
+include/blosc-export.h
+include/blosc.h
+lib/libblosc.${PKGVERSION}.so
+lib/libblosc.1.so
+lib/libblosc.a
+lib/libblosc.so
+lib/pkgconfig/blosc.pc
diff --git a/blosc/buildlink3.mk b/blosc/buildlink3.mk
new file mode 100644
index 0000000000..53be911861
--- /dev/null
+++ b/blosc/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD$
+
+BUILDLINK_TREE+=	blosc
+
+.if !defined(BLOSC_BUILDLINK3_MK)
+BLOSC_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.blosc+=	blosc>=1.12.1
+BUILDLINK_PKGSRCDIR.blosc?=	../../wip/blosc
+
+.endif	# BLOSC_BUILDLINK3_MK
+
+BUILDLINK_TREE+=	-blosc
diff --git a/blosc/distinfo b/blosc/distinfo
new file mode 100644
index 0000000000..2dd13b9f5a
--- /dev/null
+++ b/blosc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (c-blosc/v1.12.1.tar.gz) = 234ca85e3602cceee4d8b106c27fda526bbd733d
+RMD160 (c-blosc/v1.12.1.tar.gz) = b04b93363b90015b79964dc4615699fa897e5273
+SHA512 (c-blosc/v1.12.1.tar.gz) = f65bbbfce6fc59d0c5a0889d5771dd78cae2796244c6ee69edf15b27c4563c28ce789fded9104a8626d12be3e46418d596dfdb204c43e33abae8dca40debfd92
+Size (c-blosc/v1.12.1.tar.gz) = 683510 bytes


Home | Main Index | Thread Index | Old Index