summaryrefslogtreecommitdiff
blob: 9c0fb57f325e2b7de25df98758331eaa61466ef8 (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
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-misc/polkit-kde-kcmodules/polkit-kde-kcmodules-0.98_pre20120917-r1.ebuild,v 1.1 2012/11/18 06:55:46 creffett Exp $

EAPI=4

inherit kde4-base

DESCRIPTION="PolKit agent module for KDE."
HOMEPAGE="http://www.kde.org"
SRC_URI="http://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"

LICENSE="GPL-2"
KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
SLOT="4"
IUSE="debug"

DEPEND="
	>=sys-auth/polkit-kde-agent-0.99
	>=sys-auth/polkit-qt-0.103
"
RDEPEND="${DEPEND}"

S="${WORKDIR}"

src_install() {
	local envdfn=99polkit-kde
	echo 'CONFIG_PROTECT="/usr/share/polkit-1/actions"' > "${T}"/${envdfn}
	doenvd "${T}"/${envdfn}
	kde4-base_src_install
}