Files
gentoo/sci-misc/h5utils/h5utils-1.13.2.ebuild
Alfredo Tupone 038d5e3978 sci-misc/h5utils: add 1.13.2
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2026-04-30 22:26:08 +02:00

43 lines
764 B
Bash

# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
inherit autotools
DESCRIPTION="Utilities for visualization and conversion of HDF5 files"
HOMEPAGE="https://github.com/NanoComp/h5utils"
SRC_URI="https://github.com/NanoComp/h5utils/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="hdf octave"
DEPEND="
media-libs/libpng:0=
sci-libs/hdf5:0=
virtual/zlib:=
hdf? (
sci-libs/hdf:0=
media-libs/libjpeg-turbo
)
octave? (
sci-mathematics/octave
)"
RDEPEND="${DEPEND}"
PATCHES=( "${FILESDIR}"/${P}-automagic.patch )
src_prepare() {
default
eautoreconf
}
src_configure() {
econf \
--without-v5d \
$(use_with octave) \
$(use_with hdf)
}