/[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.4 - (show annotations) (download)
Tue Jun 21 15:13:09 2011 UTC (9 years, 1 month ago) by jlec
Branch: MAIN
Changes since 1.3: +3 -1 lines
Add dependency on virtual/fortran

(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.3 2011/06/21 08:31:16 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 virtual/fortran
20
21 >=dev-scheme/guile-1.6[deprecated]
22 sci-libs/nlopt"
23 RDEPEND="${DEPEND}"
24
25 src_configure() {
26 econf \
27 --enable-shared \
28 $(use_enable debug)
29 }
30
31 src_install() {
32 default
33 if use doc; then
34 dohtml doc/*
35 fi
36 if use examples; then
37 insinto /usr/share/doc/${PF}/examples
38 cd examples
39 doins Makefile.am README *.c *.h *.ctl *scm
40 fi
41 }

  ViewVC Help
Powered by ViewVC 1.1.20