blob: 6753f273178496c45ad5d84f3c53d1a7ff3d9472 (
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
44
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-biology/ecell/ecell-3.1.102-r1.ebuild,v 1.2 2005/01/02 21:19:04 swegener Exp $
inherit eutils
DESCRIPTION="Software suite for modelling biological cells"
HOMEPAGE="http://ecell.sourceforge.net/"
SRC_URI="mirror://sourceforge/ecell/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc gnome"
DEPEND="dev-libs/boost
dev-lang/python
dev-python/numeric
sci-libs/gsl
dev-python/empy
gnome? ( gnome-base/libglade
>=dev-python/pygtk-2
dev-python/gnome-python
x11-libs/gtk+extra
dev-python/python-gtkextra )
doc? ( media-gfx/graphviz
app-doc/doxygen
app-text/docbook-sgml-utils )"
src_compile() {
local myconf
use gnome || myconf="--disable-gtk"
econf ${myconf} || die "econf failed"
emake || die "emake failed"
if use doc; then
emake doc || die "emake doc failed"
fi
}
src_install() {
einstall || die
if use doc; then
dohtml doc/refman/html || die "HTML docs missing"
fi
}
|