blob: 786f3d002c9100e7776845608bdd5a718c0751e3 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/libctl/libctl-3.1.ebuild,v 1.5 2012/01/20 16:42:23 bicatali Exp $
EAPI=4
inherit fortran-2 autotools-utils
DESCRIPTION="Guile-based library for scientific simulations"
HOMEPAGE="http://ab-initio.mit.edu/libctl/"
SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples static-libs"
DEPEND="virtual/fortran
>=dev-scheme/guile-1.6[deprecated]
sci-libs/nlopt"
RDEPEND="${DEPEND}"
src_install() {
autotools-utils_src_install
use doc && dohtml doc/*
if use examples; then
insinto /usr/share/doc/${PF}/examples
cd examples
doins Makefile.am README *.c *.h *.ctl *scm
fi
}
|