You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-base/rocs/rocs-4.10.5.ebuild

36 lines
872 B

# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/rocs/rocs-4.10.5.ebuild,v 1.5 2013/07/31 21:36:25 johu Exp $
EAPI=5
KDE_HANDBOOK="optional"
inherit kde4-base
DESCRIPTION="KDE4 interface to work with Graph Theory"
HOMEPAGE="http://kde.org/applications/education/rocs
http://edu.kde.org/applications/mathematics/rocs"
KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="debug"
RDEPEND=">=dev-libs/boost-1.43:="
DEPEND="
${RDEPEND}
>=dev-cpp/eigen-2.0.3:2
"
RESTRICT=test
# bug 443752
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"
}