aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-12-03 13:06:16 +0100
committerJustin Lecher <jlec@gentoo.org>2013-12-03 13:06:16 +0100
commit720da90372cf45e272f8c6f49532909e7e08103a (patch)
tree5a3bc4fea240c9a02921b310f143675b2d4e6cf2 /sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild
parentsci-misc/elmer-elmergrid: Bump EAPI; fix DESCRIPTION; drop keywords from live... (diff)
downloadsci-720da90372cf45e272f8c6f49532909e7e08103a.tar.gz
sci-720da90372cf45e272f8c6f49532909e7e08103a.tar.bz2
sci-720da90372cf45e272f8c6f49532909e7e08103a.zip
sci-misc/elmer-front: 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-front/elmer-front-6.0_p4651.ebuild')
-rw-r--r--sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild44
1 files changed, 44 insertions, 0 deletions
diff --git a/sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild b/sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild
new file mode 100644
index 000000000..871d33bf9
--- /dev/null
+++ b/sci-misc/elmer-front/elmer-front-6.0_p4651.ebuild
@@ -0,0 +1,44 @@
+# 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 - elmer frontend"
+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=""
+
+RDEPEND="
+ dev-lang/tcl
+ dev-lang/tk
+ sci-libs/matc
+ sci-libs/elmer-eio
+ virtual/opengl"
+DEPEND="${RDEPEND}"
+
+S="${WORKDIR}"/front/front
+
+PATCHES=(
+ "${FILESDIR}"/${P}-tcltk8.6.patch
+ "${FILESDIR}"/${P}-underlinking.patch
+ "${FILESDIR}"/${P}-out-of-source.patch
+)
+
+src_configure() {
+ local myeconfargs=(
+ --with-eioc --with-matc --with-tcltk --with-x
+ )
+ autotools-utils_src_configure
+}