# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/h5utils-1.12.1-r2.ebuild,v 1.5 2012/08/04 16:05:24 bicatali Exp $ EAPI=4 AUTOTOOLS_AUTORECONF=true inherit autotools-utils DESCRIPTION="Utilities for visualization and conversion of HDF5 files" HOMEPAGE="http://ab-initio.mit.edu/h5utils/" SRC_URI="http://ab-initio.mit.edu/h5utils/${P}.tar.gz" SLOT="0" LICENSE="GPL-2" KEYWORDS="~amd64 ~ppc x86 ~amd64-linux ~x86-linux" IUSE="hdf octave" DEPEND=" media-libs/libpng sci-libs/hdf5 sys-libs/zlib hdf? ( sci-libs/hdf virtual/jpeg )" RDEPEND="${DEPEND}" PATCHES=( "${FILESDIR}"/${P}-automagic.patch "${FILESDIR}"/${P}-png15.patch ) src_configure() { local myeconfargs=( --without-v5d $(use_with octave) $(use_with hdf) ) autotools-utils_src_configure }