# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/mail-client/kcheckgmail/kcheckgmail-0.5.7.6.ebuild,v 1.1 2008/09/06 22:42:29 keytoaster Exp $ inherit kde DESCRIPTION="Gmail notifier applet for kde" HOMEPAGE="http://sourceforge.net/projects/kcheckgmail" SRC_URI="mirror://sourceforge/kcheckgmail/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~sparc ~x86" IUSE="" need-kde 3.5 LANGS="ar de es et fr hu it ko lt pl pt_BR pt ru sk sv tr wa" for X in ${LANGS} ; do IUSE="${IUSE} linguas_${X}" done src_unpack() { kde_src_unpack for X in ${LANGS} ; do use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}.po" done cd "${S}/po" sed -i -e "s:POFILES =.*:POFILES = ${MAKE_LANGS}:" Makefile.am rm -f "${S}/configure" }