# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kcalc/kcalc-4.2.3.ebuild,v 1.1 2009/05/06 22:58:27 scarabeus Exp $ EAPI="2" KMNAME="kdeutils" CPPUNIT_REQUIRED="optional" inherit kde4-meta DESCRIPTION="KDE calculator" KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~x86" IUSE="debug doc" DEPEND=" dev-libs/gmp " RDEPEND="${DEPEND}" src_test() { pushd "${WORKDIR}"/${PN}_build/kcalc/knumber/tests > /dev/null emake knumbertest && \ ./knumbertest.shell || die "Tests failed." popd > /dev/null }