blob: b1f139f448941d887b349ec8d657cf7e1904abc6 (
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
32
33
34
35
36
37
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/kima/kima-0.7.4.ebuild,v 1.3 2007/10/06 14:48:58 armin76 Exp $
inherit kde
DESCRIPTION="Hardware monitoring applet for Kicker"
HOMEPAGE="http://kima.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
KEYWORDS="amd64 x86"
SLOT="0"
LICENSE="GPL-2"
IUSE=""
DEPEND=">=sys-apps/hal-0.5.9-r1"
need-kde 3.5
LANGS="de es hu id ru sv tr"
for X in ${LANGS} ; do
IUSE="${IUSE} linguas_${X}"
done
src_unpack() {
kde_src_unpack
local MAKE_LANGS
cd "${WORKDIR}/${P}/po"
for X in ${LANGS} ; do
use linguas_${X} && MAKE_LANGS="${MAKE_LANGS} ${X}.po"
done
rm -f "${S}/configure"
sed -i -e "s:POFILES =.*:POFILES = ${MAKE_LANGS}:" Makefile.am
}
|