2009-11-29 00:08:14 +01:00
|
|
|
# Template file for 'polkit'
|
|
|
|
pkgname=polkit
|
2011-08-18 09:14:31 +02:00
|
|
|
version=0.102
|
2011-10-23 11:36:20 +02:00
|
|
|
revision=3
|
2009-11-29 00:08:14 +01:00
|
|
|
distfiles="http://hal.freedesktop.org/releases/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-10-16 19:46:38 +02:00
|
|
|
configure_args="--disable-static --with-os-type=gentoo"
|
2009-11-29 00:08:14 +01:00
|
|
|
short_desc="Authorization Toolkit"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-08-18 09:14:31 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/PolicyKit"
|
|
|
|
license="GPL-2"
|
|
|
|
checksum=0a6573da841c6f5c428218f1456aed45724a0127932af0de563d568bb9058641
|
2009-11-29 00:08:14 +01:00
|
|
|
long_desc="
|
|
|
|
PolicyKit is an application-level toolkit for defining and handling the
|
|
|
|
policy that allows unprivileged processes to speak to privileged processes.
|
|
|
|
|
|
|
|
It is a framework for centralizing the decision making process with respect
|
|
|
|
to granting access to privileged operations (like calling the HAL Mount()
|
|
|
|
method) for unprivileged (desktop) applications."
|
|
|
|
|
2011-10-11 03:30:56 +02:00
|
|
|
systemd_services="polkitd.service"
|
2010-01-21 03:33:26 +01:00
|
|
|
replaces="PolicyKit>=0"
|
2011-03-02 20:36:07 +01:00
|
|
|
subpackages="polkit-devel"
|
2011-10-11 03:30:56 +02:00
|
|
|
|
2010-01-10 18:05:06 +01:00
|
|
|
Add_dependency run glib
|
|
|
|
Add_dependency run glibc
|
|
|
|
Add_dependency run expat
|
|
|
|
Add_dependency run pam
|
2011-10-11 03:30:56 +02:00
|
|
|
|
2010-01-18 22:11:51 +01:00
|
|
|
Add_dependency build pkg-config
|
2009-11-29 00:08:14 +01:00
|
|
|
Add_dependency build intltool
|
|
|
|
Add_dependency build libxslt
|
2011-07-03 09:03:22 +02:00
|
|
|
Add_dependency build docbook-xsl
|
2010-04-23 12:13:57 +02:00
|
|
|
Add_dependency build gobject-introspection
|
2010-01-10 18:05:06 +01:00
|
|
|
Add_dependency build glib-devel
|
|
|
|
Add_dependency build expat-devel
|
|
|
|
Add_dependency build pam-devel
|
2009-11-29 00:08:14 +01:00
|
|
|
|
|
|
|
post_install()
|
|
|
|
{
|
2011-10-14 01:24:03 +02:00
|
|
|
vinstall ${FILESDIR}/polkit-1.pam 644 etc/pam.d polkit-1
|
2011-10-11 03:30:56 +02:00
|
|
|
vinstall ${FILESDIR}/polkitd.service 644 lib/systemd/system
|
2009-11-29 00:08:14 +01:00
|
|
|
}
|