# Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Gerris Flow Solver is a library for the solution of the partial differential equations describing fluid flow. " HOMEPAGE="http://sourceforge.net/projects/gfs" SRC_URI="mirror://sourceforge/gfs/${P}.tar.gz" LICENSE="GPL" SLOT="0" KEYWORDS="~x86 ~amd64" inherit eutils IUSE="" DEPEND=">=dev-libs/glib-1.2.8 >=sci-mathematics/gts-0.7.3" S=${WORKDIR}/${P} src_unpack() { unpack ${A} || die "Unpacking the source failed" cd ${S} || die "Could not change directory." epatch ${FILESDIR}/gerris-0.6-patch-1 } src_compile() { econf || die "Configure failed" emake || die "Make failed" } src_install() { einstall || die "Install failed" }