# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/kde-base/kde-l10n/kde-l10n-4.9.2.ebuild,v 1.1 2012/10/02 18:11:38 johu Exp $ EAPI=4 inherit kde4-base DESCRIPTION="KDE internationalization package" HOMEPAGE="http://www.kde.org/" LICENSE="GPL-2" DEPEND=" sys-devel/gettext " RDEPEND="!> "${S}"/CMakeLists.txt fi done fi } src_prepare() { find "${S}" -name CMakeLists.txt -type f \ -exec sed -i -e 's:^ *add_subdirectory( *kdepim-runtime *):# no kdepim-runtime:g' {} + find "${S}" -name CMakeLists.txt -type f \ -exec sed -i -e 's:^ *add_subdirectory( *kdepim *):# no kdepim:g' {} + kde4-base_src_prepare } src_configure() { mycmakeargs=( $(cmake-utils_use_build handbook docs) ) [[ -n ${A} ]] && kde4-base_src_configure } src_compile() { [[ -n ${A} ]] && kde4-base_src_compile } src_test() { [[ -n ${A} ]] && kde4-base_src_test } src_install() { [[ -n ${A} ]] && kde4-base_src_install }