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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.20