/[gentoo-x86]/sci-libs/libctl/libctl-3.1.ebuild
Gentoo

Contents of /sci-libs/libctl/libctl-3.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Tue Jun 21 08:31:16 2011 UTC (9 years, 1 month ago) by jlec
Branch: MAIN
Changes since 1.2: +10 -9 lines
Added fortran-2.eclass support

(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)

1 # Copyright 1999-2011 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libctl/libctl-3.1.ebuild,v 1.2 2010/12/02 10:39:39 jlec Exp $
4
5 EAPI=4
6
7 inherit fortran-2
8
9 DESCRIPTION="Guile-based library for scientific simulations"
10 HOMEPAGE="http://ab-initio.mit.edu/libctl/"
11 SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz"
12
13 SLOT="0"
14 LICENSE="GPL-2"
15 KEYWORDS="~amd64 ~x86"
16 IUSE="debug doc examples"
17
18 DEPEND="
19 >=dev-scheme/guile-1.6[deprecated]
20 sci-libs/nlopt"
21 RDEPEND="${DEPEND}"
22
23 src_configure() {
24 econf \
25 --enable-shared \
26 $(use_enable debug)
27 }
28
29 src_install() {
30 default
31 if use doc; then
32 dohtml doc/*
33 fi
34 if use examples; then
35 insinto /usr/share/doc/${PF}/examples
36 cd examples
37 doins Makefile.am README *.c *.h *.ctl *scm
38 fi
39 }

  ViewVC Help
Powered by ViewVC 1.1.20