30 lines
802 B
Bash
30 lines
802 B
Bash
# Copyright 1999-2014 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/diagrtb/diagrtb-2.64.ebuild,v 1.2 2014/04/16 22:14:34 ulm Exp $
|
|
|
|
EAPI=4
|
|
|
|
inherit cmake-utils fortran-2
|
|
|
|
DESCRIPTION="Calculation of some eigenvectors of a large real, symmetrical, matrix"
|
|
HOMEPAGE="http://ecole.modelisation.free.fr/modes.html"
|
|
SRC_URI="http://ecole.modelisation.free.fr/rtb2011.tar.gz -> ${P}.tar.gz"
|
|
|
|
LICENSE="all-rights-reserved"
|
|
SLOT="0"
|
|
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
|
IUSE="examples"
|
|
RESTRICT="mirror bindist"
|
|
|
|
S="${WORKDIR}"/Source_RTB2011
|
|
|
|
src_prepare() {
|
|
cp "${FILESDIR}"/CMakeLists.txt . || die
|
|
}
|
|
|
|
src_configure() {
|
|
mycmakeargs=(
|
|
$(cmake-utils_use examples EXAMPLES)
|
|
)
|
|
cmake-utils_src_configure
|
|
}
|