/[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.1 - (show annotations) (download)
Tue Jul 14 16:54:14 2009 UTC (11 years, 1 month ago) by bicatali
Branch: MAIN
Version bump
(Portage version: 2.2_rc33/cvs/Linux x86_64)

1 # Copyright 1999-2009 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/libctl/libctl-3.0.3.ebuild,v 1.2 2008/11/08 18:58:13 maekke Exp $
4
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
14 SLOT="0"
15 IUSE="doc examples"
16
17 DEPEND=">=dev-scheme/guile-1.6
18 sci-libs/nlopt"
19 RDEPEND="${DEPEND}"
20
21 src_configure() {
22 econf --enable-shared
23 }
24
25 src_install() {
26 emake DESTDIR="${D}" install || die "emake failed"
27 dodoc NEWS AUTHORS COPYRIGHT ChangeLog
28 if use doc; then
29 dohtml doc/* || die
30 fi
31 if use examples; then
32 insinto /usr/share/doc/${PF}/examples
33 cd examples
34 doins Makefile.am README *.c *.h *.ctl *scm || die
35 fi
36 }

  ViewVC Help
Powered by ViewVC 1.1.20