blob: f47c9ff6cba964728e4571af5785636a603f1785 (
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
35
36
37
38
39
40
41
42
43
|
# Copyright 1999-2010 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.4 2010/06/22 13:11:24 jlec Exp $
EAPI=2
inherit eutils toolchain-funcs
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="
dev-lang/tcl
>=sci-libs/netcdf-3.5
x11-libs/libX11
virtual/glu"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-round.patch
}
src_configure() {
econf \
--without-mixkit \
--enable-threads
}
src_compile() {
emake \
CC="$(tc-getCC)"
}
src_install () {
emake DESTDIR="${D}" install || die "emake install failed"
dodoc README NEWS ChangeLog PORTING AUTHORS
}
|