/[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.2 Revision 1.3
1# Copyright 1999-2010 Gentoo Foundation 1# Copyright 1999-2011 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.2 2010/12/02 10:39:39 jlec Exp $ 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 4
5EAPI=2 5EAPI=4
6
7inherit fortran-2
6 8
7DESCRIPTION="Guile-based library for scientific simulations" 9DESCRIPTION="Guile-based library for scientific simulations"
10HOMEPAGE="http://ab-initio.mit.edu/libctl/"
8SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz" 11SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz"
9HOMEPAGE="http://ab-initio.mit.edu/libctl/"
10 12
13SLOT="0"
11LICENSE="GPL-2" 14LICENSE="GPL-2"
12KEYWORDS="~amd64 ~x86" 15KEYWORDS="~amd64 ~x86"
13SLOT="0"
14IUSE="debug doc examples" 16IUSE="debug doc examples"
15 17
16DEPEND=" 18DEPEND="
17 >=dev-scheme/guile-1.6[deprecated] 19 >=dev-scheme/guile-1.6[deprecated]
18 sci-libs/nlopt" 20 sci-libs/nlopt"
23 --enable-shared \ 25 --enable-shared \
24 $(use_enable debug) 26 $(use_enable debug)
25} 27}
26 28
27src_install() { 29src_install() {
28 emake DESTDIR="${D}" install || die "emake failed" 30 default
29 dodoc NEWS AUTHORS COPYRIGHT ChangeLog
30 if use doc; then 31 if use doc; then
31 dohtml doc/* || die 32 dohtml doc/*
32 fi 33 fi
33 if use examples; then 34 if use examples; then
34 insinto /usr/share/doc/${PF}/examples 35 insinto /usr/share/doc/${PF}/examples
35 cd examples 36 cd examples
36 doins Makefile.am README *.c *.h *.ctl *scm || die 37 doins Makefile.am README *.c *.h *.ctl *scm
37 fi 38 fi
38} 39}

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

  ViewVC Help
Powered by ViewVC 1.1.20