blob: 932731ec1cbfd9bf82d39e6a0da0cb6c4cb70d25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
AUTOTOOLS_AUTORECONF=true
inherit autotools-utils git-r3
ELMER_ROOT="elmerfem"
MY_PN=${PN/elmer-/}
DESCRIPTION="Finite element programs, libraries, and visualization tools - math C library"
HOMEPAGE="http://www.csc.fi/english/pages/elmer"
SRC_URI="doc? ( http://www.nic.funet.fi/pub/sci/physics/elmer/doc/MATCManual.pdf )"
EGIT_REPO_URI="https://github.com/ElmerCSC/elmerfem.git git://github.com/ElmerCSC/elmerfem.git"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"
KEYWORDS=""
IUSE="doc debug static-libs"
RDEPEND="
sys-libs/ncurses:0=
sys-libs/readline:0="
DEPEND="${RDEPEND}"
S="${WORKDIR}/${P}/${PN}"
#PATCHES=( "${FILESDIR}"/${PN}-6.0_p4651-shared.patch )
src_configure() {
local myeconfargs=(
$(use_with debug)
)
autotools-utils_src_configure
}
src_install() {
use doc && DOCS=( "${DISTDIR}"/MATCManual.pdf )
autotools-utils_src_install
}
|