# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="C++/Python interface of FEniCS" HOMEPAGE="http://www.fenics.org/wiki/DOLFIN" SRC_URI="http://www.fenics.org/pub/software/dolfin/v0.6/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64" IUSE="boost" DEPEND="dev-libs/libxml2 boost? ( dev-libs/boost )" RDEPEND="${DEPEND}" src_compile() { econf \ --disable-pydolfin \ $(use_with boost) emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "install failed" dodoc NEWS README }