blob: 64511b13ea6c4fa79c9c7f9c9e080ab58b91a4f8 (
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
|
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/rocs/rocs-4.9.0.ebuild,v 1.1 2012/08/01 22:17:11 johu Exp $
EAPI=4
KDE_HANDBOOK="optional"
KDE_SCM="git"
inherit kde4-base
DESCRIPTION="KDE4 interface to work with Graph Theory"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="debug"
RDEPEND=">=dev-libs/boost-1.43"
DEPEND="
${RDEPEND}
>=dev-cpp/eigen-2.0.3:2
"
src_test() {
local mycmakeargs=(-DKDE4_BUILD_TESTS=ON)
cmake-utils_src_configure
kde4-base_src_compile
cd "${CMAKE_BUILD_DIR}"
emake DESTDIR="${T}/tests" install
export KDEDIRS="${KDEDIRS}:${T}/tests/${PREFIX}"
kbuildsycoca4
ctest || die "tests failed"
}
|