blob: ab1a155c37b7ae25df00978de9c94e91c4f0efc2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="ZSTD plugin for hdf5"
HOMEPAGE="https://github.com/aparamon/HDF5Plugin-Zstandard"
COMMIT="d5afdb5f04116d5c2d1a869dc9c7c0c72832b143"
SRC_URI="https://github.com/aparamon/HDF5Plugin-Zstandard/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="app-arch/zstd sci-libs/hdf5"
RDEPEND="${DEPEND}"
S=${WORKDIR}/${PN}-${COMMIT}
src_configure() {
local mycmakeargs=(
-DPLUGIN_INSTALL_PATH="${EPREFIX}/usr/$(get_libdir)/hdf5/plugin"
)
cmake_src_configure
}
src_install() {
echo "HDF5_PLUGIN_PATH=${EPREFIX}/usr/$(get_libdir)/hdf5/plugin" >> 99h5zstd || die
doenvd 99h5zstd
cmake_src_install
}
|