aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-12-03 11:01:48 +0100
committerJustin Lecher <jlec@gentoo.org>2013-12-03 11:01:48 +0100
commitf646e47ce7406437af4891c1c6266a671a17c4ad (patch)
treea1126a74a9502fa97fc560d5f61f3b2e58533ee2 /sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild
parentsci-libs/matc: Fix version; force execution of all phases; Fix LICENSE (diff)
downloadsci-f646e47ce7406437af4891c1c6266a671a17c4ad.tar.gz
sci-f646e47ce7406437af4891c1c6266a671a17c4ad.tar.bz2
sci-f646e47ce7406437af4891c1c6266a671a17c4ad.zip
sci-misc/elmer-elmergrid: Bump EAPI; fix DESCRIPTION; drop keywords from live ebuild; use correct phase functions; simplify configure; link against external metis
Package-Manager: portage-2.2.7
Diffstat (limited to 'sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild')
-rw-r--r--sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild b/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild
new file mode 100644
index 000000000..743d4eeaf
--- /dev/null
+++ b/sci-misc/elmer-elmergrid/elmer-elmergrid-6.0_p4651.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils multilib
+
+ELMER_ROOT="elmerfem"
+MY_PN=${PN/elmer-/}
+
+DESCRIPTION="Finite element programs, libraries, and visualization tools - elmergrid"
+HOMEPAGE="http://www.csc.fi/english/pages/elmer"
+SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV%_p*}/${MY_PN}/?view=tar&pathrev=4651 -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+RDEPEND="
+ sci-libs/matc
+ sci-libs/metis"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}/elmergrid"
+
+src_configure() {
+ local myeconfargs=(
+ $(use_with debug)
+ --with-metis-libs="${EPREFIX}"/usr/$(get_libdir)
+ --with-metis-include="${EPREFIX}"/usr/include/metis
+ )
+ autotools-utils_src_configure
+}