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

  ViewVC Help
Powered by ViewVC 1.1.20