summaryrefslogtreecommitdiff
blob: c836b7c993fa26465a027eddb3c5d2970b71b114 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/vis5d+/vis5d+-1.2.1.ebuild,v 1.3 2009/08/12 14:10:16 ssuominen Exp $

EAPI=2
inherit eutils

DESCRIPTION="3dimensional weather modeling software"
HOMEPAGE="http://vis5d.sourceforge.net"
SRC_URI="mirror://sourceforge/vis5d/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
# amd64: Function `vis5d_get_dtx' implicitly converted to pointer at graphics.ogl.c:1355
KEYWORDS="-amd64 x86"
IUSE=""

RDEPEND=">=sci-libs/netcdf-3.5"
DEPEND="${RDEPEND}"

src_prepare() {
	epatch "${FILESDIR}"/${P}-round.patch
}

src_configure() {
	econf \
		--without-mixkit \
		--enable-threads
}

src_install () {
	emake DESTDIR="${D}" install || die "emake install failed"
	dodoc README NEWS ChangeLog PORTING AUTHORS
}