summaryrefslogtreecommitdiff
blob: 066d64d83a5b41ab4280977f6a2273e3a70925cf (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 1999-2006 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.3 2006/10/07 17:24:46 pbienst 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}
	epatch "${FILESDIR}"/${PV}-octave-path.patch
}

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

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