/[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.2 - (hide annotations) (download)
Thu Dec 2 10:39:39 2010 UTC (9 years, 8 months ago) by jlec
Branch: MAIN
Changes since 1.1: +8 -6 lines
Fix DEPs for guile; #346695

(Portage version: 2.2.0_alpha6/cvs/Linux x86_64)

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

  ViewVC Help
Powered by ViewVC 1.1.20