summaryrefslogtreecommitdiffstats
path: root/extra/policykit/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-11 23:13:46 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-11 23:13:46 +0200
commit5a83f7a9b4ce987b2a944d70dd699268e6cf26b1 (patch)
tree72751734b1a363e8da378fa49d882ffb6f1e9292 /extra/policykit/Pkgfile
parentefaa2a47e0c7b512bde9371ac72920a0058e0ceb (diff)
downloadnutyx-pakxe-5a83f7a9b4ce987b2a944d70dd699268e6cf26b1.tar.gz
nutyx-pakxe-5a83f7a9b4ce987b2a944d70dd699268e6cf26b1.tar.bz2
nutyx-pakxe-5a83f7a9b4ce987b2a944d70dd699268e6cf26b1.tar.xz
nutyx-pakxe-5a83f7a9b4ce987b2a944d70dd699268e6cf26b1.zip
policykit#0.9-3
Diffstat (limited to 'extra/policykit/Pkgfile')
-rw-r--r--extra/policykit/Pkgfile28
1 files changed, 28 insertions, 0 deletions
diff --git a/extra/policykit/Pkgfile b/extra/policykit/Pkgfile
new file mode 100644
index 000000000..37dffc04c
--- /dev/null
+++ b/extra/policykit/Pkgfile
@@ -0,0 +1,28 @@
+# 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
+
+name=policykit
+version=0.9
+release=3
+source=(http://hal.freedesktop.org/releases/PolicyKit-${version}.tar.gz\
+ $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=$GNOME_PREFIX\
+ --sysconfdir=/etc \
+ --libexecdir=$(pkg-config \
+ --variable=prefix ORBit-2.0)/lib/PolicyKit \
+ --mandir=$(pkg-config \
+ --variable=prefix ORBit-2.0)/share/man \
+ --localstatedir=/var \
+ --with-authfw=shadow
+
+ make
+ make DESTDIR=$PKG install
+}