Line 0
Link Here
|
0 |
- |
1 |
# Copyright 1999-2014 Gentoo Foundation |
|
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Id$ |
4 |
|
5 |
EAPI=5 |
6 |
|
7 |
inherit eutils |
8 |
|
9 |
DESCRIPTION="Rules for polkit to add compatibility with pklocalauthority" |
10 |
HOMEPAGE="http://fedorahosted.org/polkit-pkla-compat/" |
11 |
SRC_URI="http://fedorahosted.org/releases/${PN:0:1}/${PN:1:1}/${PN}/${P}.tar.xz" |
12 |
|
13 |
LICENSE="LGPL-2" |
14 |
SLOT="0" |
15 |
KEYWORDS="amd64 x86" |
16 |
IUSE="" |
17 |
|
18 |
RDEPEND=">=dev-libs/glib-2.30 |
19 |
>=sys-auth/polkit-0.110" |
20 |
DEPEND="${RDEPEND} |
21 |
app-text/docbook-xsl-stylesheets |
22 |
dev-libs/libxslt |
23 |
virtual/pkgconfig" |
24 |
|
25 |
DOCS="AUTHORS NEWS README" |
26 |
|
27 |
src_prepare() { |
28 |
epatch "${FILESDIR}"/${PN}-0.1-ignore-innetgr-musl.patch |
29 |
} |
30 |
|
31 |
src_install() { |
32 |
default |
33 |
fowners -R root:polkitd /etc/polkit-1/localauthority |
34 |
} |
35 |
|
36 |
pkg_postinst() { |
37 |
chown -R root:polkitd "${EROOT}"/etc/polkit-1/localauthority |
38 |
} |