1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit fortran-2 autotools-utils
8 DESCRIPTION="Guile-based library for scientific simulations"
9 HOMEPAGE="http://ab-initio.mit.edu/libctl/"
10 SRC_URI="http://ab-initio.mit.edu/libctl/${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
15 IUSE="doc examples static-libs"
23 autotools-utils_src_install
24 use doc && dohtml doc/*
26 insinto /usr/share/doc/${PF}/examples
27 doins "${AUTOTOOLS_BUILD_DIR}"/examples/{*.c,*.h,example.scm,Makefile}
28 doins "${S}"/examples/{README,example.c,run.ctl}