diff options
author | Sébastien Fabbro <bicatali@gentoo.org> | 2017-02-15 21:24:13 +0000 |
---|---|---|
committer | Sébastien Fabbro <bicatali@gentoo.org> | 2017-02-16 16:54:30 +0000 |
commit | 6d7aed71f5beb7f9859630b85c565c5dee2cd579 (patch) | |
tree | dfbbc38746459e8abf241255c9fb98204e291e42 /dev-libs/c-blosc/c-blosc-1.11.2.ebuild | |
parent | dev-util/conan: quoting (diff) | |
download | gentoo-6d7aed71f5beb7f9859630b85c565c5dee2cd579.tar.gz gentoo-6d7aed71f5beb7f9859630b85c565c5dee2cd579.tar.bz2 gentoo-6d7aed71f5beb7f9859630b85c565c5dee2cd579.zip |
dev-libs/c-blosc: version bump
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-libs/c-blosc/c-blosc-1.11.2.ebuild')
-rw-r--r-- | dev-libs/c-blosc/c-blosc-1.11.2.ebuild | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/dev-libs/c-blosc/c-blosc-1.11.2.ebuild b/dev-libs/c-blosc/c-blosc-1.11.2.ebuild new file mode 100644 index 000000000000..8e4b7c31905c --- /dev/null +++ b/dev-libs/c-blosc/c-blosc-1.11.2.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +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/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="cpu_flags_x86_avx2 +lz4 +snappy static-libs test zlib zstd" + +RDEPEND=" + lz4? ( >=app-arch/lz4-1.7.5:= ) + snappy? ( app-arch/snappy ) + zlib? ( sys-libs/zlib ) + zstd? ( app-arch/zstd )" +DEPEND="${RDEPEND}" + +DOCS=( README.rst RELEASE_NOTES.rst THOUGHTS_FOR_2.0.txt ANNOUNCE.rst ) +PATCHES=( "${FILESDIR}/${PN}-1.11.2-fix-build-system.patch" ) + +src_prepare() { + cmake-utils_src_prepare + # remove bundled libs + rm -rf internal-complibs || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_STATIC=$(usex static-libs) + -DBUILD_TESTS=$(usex test) + -DBUILD_BENCHMARKS=OFF + -DDEACTIVATE_AVX2=$(usex !cpu_flags_x86_avx2) + -DDEACTIVATE_LZ4=$(usex !lz4) + -DDEACTIVATE_SNAPPY=$(usex !snappy) + -DDEACTIVATE_ZLIB=$(usex !zlib) + -DDEACTIVATE_ZSTD=$(usex !zstd) + -DPREFER_EXTERNAL_LZ4=ON + -DPREFER_EXTERNAL_SNAPPY=ON + -DPREFER_EXTERNAL_ZLIB=ON + -DPREFER_EXTERNAL_ZSTD=ON + ) + cmake-utils_src_configure +} |