aboutsummaryrefslogtreecommitdiff
blob: 80b94595e7d65c0fb0b0de0fa8091d9a4d90685a (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
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=5

inherit cmake-utils fortran-2

DESCRIPTION="Cross-platform library to build GUIs for Fortran programs"
HOMEPAGE="https://github.com/jerryd/gtk-fortran/wiki"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"

SRC_URI="https://github.com/jerryd/gtk-fortran/archive/master.zip"

DEPEND=">=x11-libs/gtk+-2.24"
RDEPEND="${DEPEND}"

# Non-standard source directory:
S="${WORKDIR}/gtk-fortran-master"

src_configure() {
	cmake-utils_src_configure
}

# Cannot build in parallel:
src_compile() {
	cd "${CMAKE_BUILD_DIR}"
	emake -j1 VERBOSE=1 || die
}