diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2014-02-06 01:00:17 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2014-02-06 01:00:17 +0000 |
commit | f5594be5e1ddb19526d66ef96bed330fb6c48cad (patch) | |
tree | 49a10a5848e8989a105ce1adf94e43f01023878c /dev-libs/c-blosc | |
parent | Bump for multilib libgpg-error. (diff) | |
download | gentoo-2-f5594be5e1ddb19526d66ef96bed330fb6c48cad.tar.gz gentoo-2-f5594be5e1ddb19526d66ef96bed330fb6c48cad.tar.bz2 gentoo-2-f5594be5e1ddb19526d66ef96bed330fb6c48cad.zip |
Initial import
(Portage version: 2.2.8-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'dev-libs/c-blosc')
-rw-r--r-- | dev-libs/c-blosc/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/c-blosc/Manifest | 4 | ||||
-rw-r--r-- | dev-libs/c-blosc/c-blosc-1.3.2.ebuild | 41 | ||||
-rw-r--r-- | dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch | 22 | ||||
-rw-r--r-- | dev-libs/c-blosc/metadata.xml | 18 |
5 files changed, 94 insertions, 0 deletions
diff --git a/dev-libs/c-blosc/ChangeLog b/dev-libs/c-blosc/ChangeLog new file mode 100644 index 000000000000..6658892f3a53 --- /dev/null +++ b/dev-libs/c-blosc/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-libs/c-blosc +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/c-blosc/ChangeLog,v 1.1 2014/02/06 01:00:17 bicatali Exp $ + +*c-blosc-1.3.2 (06 Feb 2014) + + 06 Feb 2014; Sébastien Fabbro <bicatali@gentoo.org> +c-blosc-1.3.2.ebuild, + +files/c-blosc-1.3.2-shared-libs.patch, +metadata.xml: + Initial import diff --git a/dev-libs/c-blosc/Manifest b/dev-libs/c-blosc/Manifest new file mode 100644 index 000000000000..43dd154d862c --- /dev/null +++ b/dev-libs/c-blosc/Manifest @@ -0,0 +1,4 @@ +AUX c-blosc-1.3.2-shared-libs.patch 902 SHA256 148db1ff23b2d112997d6d64157fabab6409abe2e86048799a55a440c027d0a0 SHA512 d5e21dcd0086f44bb9b9823437f7f46c362543a84a947c2f85a2b0e0486324bc2e8726adfafda5e86e2650e778dcdebf5c00364a2dc094e8dd738850a1c44ed8 WHIRLPOOL 2cb9c78b898fa293d72077323410c5caf4e608aa4943b6e75abae1b60e02bf40eeb62f021114e70f3982a7111fb4b101d6bb210e4aea247a2de4791e51a75f4e +DIST c-blosc-1.3.2.tar.gz 229790 SHA256 7c21c4484c1ad7d6beddd73f35379e0d980530466cd6d87402e035c931983697 SHA512 0488042628b8b3d02e8e7b58d3d942751a43567e99e1e89f452765ad1aeba395248322df6a37daf828571b3c262ebaa54d3ca49cfed78ab499994454faf6bbdb WHIRLPOOL 195232123fbbd4f76f3a209069e7895c3ba900e98c49ca8334e1975634770463d993ae36f99fefb680d7c78a28ca979c27cd4af4412e83c804315f6cf52420fe +EBUILD c-blosc-1.3.2.ebuild 1020 SHA256 d2c489b1d80b51839b0526e6553bff54f481baec28acb2104f11cad75e546649 SHA512 39ddc644528a8064f047474766d3c717669cb801ab56faf9eb9a93d7ae4251134d35b5dc755a3bc13b9c5d08f3c50d29f8cbd6abe7f29844cc32d815af77d614 WHIRLPOOL 967f7aceb7e5c99c625b96953363cf2b3d3aa9895535ab75ff4d3d7034ba20cf2009c3ee1c2f449682b9656bdea6cff42345169cbcae05a35ed90a1a050d8d9c +MISC metadata.xml 740 SHA256 7b361dce7ea725630c8b417f5341fc9847f8200cfccd0fe72a8348901c2ae312 SHA512 1983933ddb3472e7393bb18373e32a5f1bc87f64c9d2fb68b589a584c0e6011bb7e9d1aca1ded0c626ac36033905278c1a3393fc47f3fe7b008bff513fba94c1 WHIRLPOOL cb9bf2b9c43af262852935841e4f522c7c02ba3226421956d3fdea29e627014f75cc476e17b9ce6af10c668e586772a23358a038147eb945d9825671017fb5e6 diff --git a/dev-libs/c-blosc/c-blosc-1.3.2.ebuild b/dev-libs/c-blosc/c-blosc-1.3.2.ebuild new file mode 100644 index 000000000000..1b89d7bf0967 --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.3.2.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/c-blosc/c-blosc-1.3.2.ebuild,v 1.1 2014/02/06 01:00:17 bicatali Exp $ + +EAPI=5 + +inherit cmake-utils + +DESCRIPTION="Blocking, shuffling and lossless compression library" +HOMEPAGE="http://www.blosc.org/" +SRC_URI="https://github.com/Blosc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="hdf5 +lz4 +snappy static-libs test zlib" + +RDEPEND=" + hdf5? ( sci-libs/hdf5 ) + lz4? ( app-arch/lz4 ) + snappy? ( app-arch/snappy ) + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}"/${P}-shared-libs.patch ) + +src_configure() { + local mycmakeargs=( + -DBUILD_BENCHMARKS=OFF + -DPREFER_EXTERNAL_COMPLIBS=ON + $(cmake-utils_use hdf5 BUILD_HDF5_FILTER) + $(cmake-utils_use !lz4 DEACTIVATE_LZ4) + $(cmake-utils_use !snappy DEACTIVATE_SNAPPY) + $(cmake-utils_use static-libs BUILD_STATIC) + $(cmake-utils_use test BUILD_TESTS) + $(cmake-utils_use !zlib DEACTIVATE_ZLIB) + ) + cmake-utils_src_configure +} diff --git a/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch b/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch new file mode 100644 index 000000000000..484db1f6dd3c --- /dev/null +++ b/dev-libs/c-blosc/files/c-blosc-1.3.2-shared-libs.patch @@ -0,0 +1,22 @@ +--- hdf5/CMakeLists.txt.orig 2014-02-05 16:55:55.001344161 -0800 ++++ hdf5/CMakeLists.txt 2014-02-05 16:57:03.767739650 -0800 +@@ -23,16 +23,16 @@ + + # install + install(FILES blosc_filter.h DESTINATION include COMPONENT HDF5_FILTER_DEV) +-install(TARGETS blosc_filter_static DESTINATION lib COMPONENT HDF5_FILTER) ++install(TARGETS blosc_filter_shared DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER) + if(BUILD_STATIC) + install( +- TARGETS blosc_filter_shared DESTINATION lib COMPONENT HDF5_FILTER_DEV) ++ TARGETS blosc_filter_static DESTINATION lib${LIB_SUFFIX} COMPONENT HDF5_FILTER_DEV) + endif(BUILD_STATIC) + + + # test + if(BUILD_TESTS) + add_executable(example example.c) +- target_link_libraries(example blosc_filter_static ${HDF5_LIBRARIES}) ++ target_link_libraries(example blosc_filter_shared ${HDF5_LIBRARIES}) + add_test(test_hdf5_filter example) + endif(BUILD_TESTS) diff --git a/dev-libs/c-blosc/metadata.xml b/dev-libs/c-blosc/metadata.xml new file mode 100644 index 000000000000..4464ea034e65 --- /dev/null +++ b/dev-libs/c-blosc/metadata.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> + <email>bicatali@gentoo.org</email> + <description>Feel free to update and/or fix</description> +</maintainer> +<longdescription lang='en'> + Blosc is a compression library designed to transmit data to the + processor cache faster than the traditional non-compressed memory fetch. + Compression ratios are not very high, but the decompression is very + fast. Blosc is meant not only to reduce the size of large datasets on-disk + or in-memory, but also to accelerate memory-bound computations. +</longdescription> +<use> + <flag name="cuda">Enable NVIDIA CUDA toolkit support</flag> +</use> +</pkgmetadata> |