diff options
Diffstat (limited to 'sci-libs/matc/matc-8.0.ebuild')
-rw-r--r-- | sci-libs/matc/matc-8.0.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/sci-libs/matc/matc-8.0.ebuild b/sci-libs/matc/matc-8.0.ebuild new file mode 100644 index 000000000..565962490 --- /dev/null +++ b/sci-libs/matc/matc-8.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=true + +inherit autotools-utils + +DESCRIPTION="Finite element programs, libraries, and visualization tools - math C library" +HOMEPAGE="http://www.csc.fi/english/pages/elmer" +SRC_URI=" + https://github.com/ElmerCSC/elmerfem/archive/release-${PV}.tar.gz -> ${P}.tar.gz + doc? ( http://www.nic.funet.fi/pub/sci/physics/elmer/doc/MATCManual.pdf )" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc debug static-libs" + +RDEPEND=" + sys-libs/ncurses + sys-libs/readline:0" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/elmerfem-release-${PV}/${PN}" + +#PATCHES=( "${FILESDIR}"/${P}-shared.patch ) + +src_configure() { + local myeconfargs=( + --enable-shared + $(use_with debug) + ) + autotools-utils_src_configure +} + +src_install() { + use doc && DOCS=( "${DISTDIR}"/MATCManual.pdf ) + autotools-utils_src_install +} |