blob: 42971379757933b0227bf11743a75f629dc7f330 (
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
43
44
45
|
# 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
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="
http://elmerfem.svn.sourceforge.net/viewvc/${ELMER_ROOT}/release/${PV%_p*}/${MY_PN}/?view=tar&pathrev=4651 -> ${P}.tar.gz
doc? ( http://www.nic.funet.fi/pub/sci/physics/elmer/doc/MATCManual.pdf )"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc debug static-libs"
RDEPEND="
sys-libs/ncurses
sys-libs/readline"
DEPEND="${RDEPEND}"
S="${WORKDIR}"/${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
}
|