summaryrefslogtreecommitdiff
blob: d4fed7f942ae510ce063fbefc635abe39d6e3422 (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
34
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-misc/h5utils/h5utils-1.10.ebuild,v 1.4 2008/01/26 13:22:08 markusle Exp $

inherit eutils autotools

DESCRIPTION="utilities for visualization and conversion of scientific data in the HDF5 format"
SRC_URI="http://ab-initio.mit.edu/h5utils/${P}.tar.gz"
HOMEPAGE="http://ab-initio.mit.edu/h5utils/"

LICENSE="GPL-2"
KEYWORDS="~x86 ~ppc ~amd64"

IUSE="octave"
SLOT="0"

DEPEND="sci-libs/hdf5"

src_unpack() {
	unpack ${A}
	cd "${S}"
	epatch "${FILESDIR}"/${PV}-octave-path.patch
	eautoconf
}

src_compile() {
	econf $(use_with octave) --without-h5fromh4 || die
	emake || die
}

src_install() {
	einstall || die
	dodoc README NEWS AUTHORS
}