blob: 6d3219805d47d739f0d8eaf6d8e210bbaa42edd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
inherit cmake-utils multilib
MY_PN="${PN%ii}"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Model developed to store and retrieve transient data for finite element analyses"
HOMEPAGE="http://sourceforge.net/projects/exodusii/"
SRC_URI="mirror://sourceforge/project/${PN}/${MY_P}-1.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs test"
DEPEND="sci-libs/netcdf[hdf5]"
RDEPEND="${DEPEND}"
S="${WORKDIR}"/${MY_P}/
PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
src_configure() {
local mycmakeargs=(
-DLIB_INSTALL_DIR=$(get_libdir)
-DNETCDF_DIR="${EPREFIX}/usr/"
$(cmake-utils_use_build !static-libs SHARED)
$(cmake-utils_use_build test TESTING)
)
cmake-utils_src_configure
}
src_test() {
cd "${BUILD_DIR}"/forbind/test || die
csh testall || die
./f_test_nem || die
}
|