# Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit distutils 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" IUSE="gd netcdf grass gsl" DEPEND="gd? >=media-libs/libgd-2.0.15-r1 grass? >=app-misc/grass-5.0.2 gsl? >=dev-libs/gsl-1.3 netcdf? >=app-sci/netcdf-3.5.0-r2" src_compile() { econf --prefix=${D}/usr || die emake || die } src_install() { install -d ${D}/usr/bin || die einstall || die }