summaryrefslogtreecommitdiffstats
path: root/extra/policykit/Pkgfile
blob: ffa8d805c97aa896aa09551481ab02e9976b3924 (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
# Description: Systeme d'abstraction de materiel
# URL: http://hal.freedesktop.org/docs/PolicyKit/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: dbus, expat, dbus-glib, intltool
# Run on:

name=policykit
version=0.9
release=3
source=(http://hal.freedesktop.org/releases/PolicyKit-${version}.tar.gz\
	http://nutyx.meticul.eu/files/patchs/$name/$name-no-pam.patch)
build() {
        cd PolicyKit-$version
	patch -i $SRC/$name-no-pam.patch \
	src/polkit-dbus/polkit-resolve-exe-helper.c
        sed -i "s/\-nonet//" doc/man/Makefile.in
        ./configure --prefix=/usr \
                    --sysconfdir=/etc \
            --libexecdir=/usr/lib/PolicyKit \
	--disable-man-pages \
	--disable-gtk-doc \
                --localstatedir=/var \
	--with-authfw=shadow

        make
        make DESTDIR=$PKG install
}