| 1 |
# Copyright 1999-2012 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.2.ebuild,v 1.1 2012/08/03 01:20:10 bicatali Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
|
| 7 |
inherit fortran-2 autotools-utils
|
| 8 |
|
| 9 |
DESCRIPTION="Guile-based library for scientific simulations"
|
| 10 |
HOMEPAGE="http://ab-initio.mit.edu/libctl/"
|
| 11 |
SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz"
|
| 12 |
|
| 13 |
SLOT="0"
|
| 14 |
LICENSE="GPL-2"
|
| 15 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
| 16 |
IUSE="doc examples static-libs"
|
| 17 |
|
| 18 |
DEPEND="
|
| 19 |
dev-scheme/guile
|
| 20 |
sci-libs/nlopt"
|
| 21 |
RDEPEND="${DEPEND}"
|
| 22 |
|
| 23 |
src_install() {
|
| 24 |
autotools-utils_src_install
|
| 25 |
use doc && dohtml doc/*
|
| 26 |
if use examples; then
|
| 27 |
insinto /usr/share/doc/${PF}/examples
|
| 28 |
doins "${AUTOTOOLS_BUILD_DIR}"/examples/{*.c,*.h,example.scm,Makefile}
|
| 29 |
doins "${S}"/examples/{README,example.c,run.ctl}
|
| 30 |
fi
|
| 31 |
}
|