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

  ViewVC Help
Powered by ViewVC 1.1.20