summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/exodusii/exodusii-5.22b.ebuild')
-rw-r--r--sci-libs/exodusii/exodusii-5.22b.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/sci-libs/exodusii/exodusii-5.22b.ebuild b/sci-libs/exodusii/exodusii-5.22b.ebuild
new file mode 100644
index 000000000000..564d7abc24cf
--- /dev/null
+++ b/sci-libs/exodusii/exodusii-5.22b.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=4
+
+inherit cmake-utils multilib
+
+DESCRIPTION="Model developed to store and retrieve transient data for finite element analyses"
+HOMEPAGE="http://sourceforge.net/projects/exodusii/"
+SRC_URI="mirror://sourceforge/${PN}/${P/ii/}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs test"
+
+DEPEND="sci-libs/netcdf"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${P/ii/}/${PN/ii/}
+
+PATCHES=( "${FILESDIR}"/${P}-multilib.patch )
+
+src_configure() {
+ mycmakeargs="${mycmakeargs}
+ -DLIB_INSTALL_DIR=$(get_libdir)
+ -DNETCDF_DIR="${EPREFIX}/usr/"
+ $(cmake-utils_use !static-libs BUILD_SHARED_LIBS)
+ $(cmake-utils_use test BUILD_TESTING)"
+ cmake-utils_src_configure
+}
+
+src_test() {
+ cd "${BUILD_DIR}"/forbind/test
+ csh testall
+ ./f_test_nem || die
+}