diff options
author | Christophe Paccolat <chr.paccolat@mycable.ch> | 2012-12-03 14:18:53 +0100 |
---|---|---|
committer | Christophe Paccolat <chr.paccolat@mycable.ch> | 2012-12-03 14:18:53 +0100 |
commit | 3204075f88f4b14649515c12f64fd38e165d0399 (patch) | |
tree | 0ffc6450b4bb450b6ff89dc941356a9767b027c3 /sci-libs/elmer-eio/elmer-eio-9999.ebuild | |
parent | Merge pull request #29 from jauhien/master (diff) | |
download | sci-3204075f88f4b14649515c12f64fd38e165d0399.tar.gz sci-3204075f88f4b14649515c12f64fd38e165d0399.tar.bz2 sci-3204075f88f4b14649515c12f64fd38e165d0399.zip |
sci-misc/elmer-meta: New ebuilds for Elmer FEM packages
Diffstat (limited to 'sci-libs/elmer-eio/elmer-eio-9999.ebuild')
-rw-r--r-- | sci-libs/elmer-eio/elmer-eio-9999.ebuild | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/sci-libs/elmer-eio/elmer-eio-9999.ebuild b/sci-libs/elmer-eio/elmer-eio-9999.ebuild new file mode 100644 index 000000000..db54478bb --- /dev/null +++ b/sci-libs/elmer-eio/elmer-eio-9999.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="4" + +inherit autotools eutils subversion + +ELMER_ROOT="elmerfem" +MY_PN=${PN/elmer-/} + +DESCRIPTION="Elmer is a collection of finite element programs, libraries, and visualization tools, elmer input output library" +HOMEPAGE="http://www.csc.fi/english/pages/elmer" +#SRC_URI="http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV}/${MY_PN}/?view=tar -> ${P}.tar.gz" +SRC_URI="" +RESTRICT="mirror" +ESVN_REPO_URI="https://elmerfem.svn.sourceforge.net/svnroot/elmerfem/trunk/${MY_PN}" +ESVN_PROJECT="${MY_PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug" + +DEPEND="sys-libs/glibc" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${PV}/eio" + +src_prepare() { + #unpack ${A} + cd "${S}" + # configure must be executable + #chmod +x configure + eautoreconf +} + +src_configure() { + cd "${S}" + local myconf + export FC="gfortran" + export F77="gfortran" + use debug && + myconf="${myconf} --with-debug" || + myconf="${myconf} --without-debug" + econf $myconf || die "econf failed" +} |