# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Gstat is a program for the modelling, prediction and simulation of geostatistical data in one, two or three dimensions." HOMEPAGE="http://www.gstat.org" SRC_URI="http://www.gstat.org/bin/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="gd netcdf grass gsl" DEPEND="gd? >=media-libs/gd-2.0.15-r1 grass? >=app-misc/grass-5.0.2 gsl? >=sci-libs/gsl-1.3 netcdf? >=sci-libs/netcdf-3.5.0-r2 gnuplot >=media-gfx/gnuplot-3.8" src_compile() { econf || die "Configure failed" emake || die "Make failed" } src_install() { dobin "${S}"/src/gstat || die }