summaryrefslogtreecommitdiffstats
path: root/extra/polkit/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/polkit/Pkgfile')
-rwxr-xr-xextra/polkit/Pkgfile19
1 files changed, 13 insertions, 6 deletions
diff --git a/extra/polkit/Pkgfile b/extra/polkit/Pkgfile
index 7fc5cd551..80a2165b9 100755
--- a/extra/polkit/Pkgfile
+++ b/extra/polkit/Pkgfile
@@ -7,20 +7,27 @@
name=polkit
version=0.101
-release=2
+release=3
source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz
polkit.pam)
build() {
cd $name-$version
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib/polkit-1 \
- --mandir=/usr/share/man \
- --localstatedir=/var \
- --disable-static
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib/polkit-1 \
+ --with-authfw=pam \
+ --with-authfw=shadow \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-nls \
+ --with-os-type=lfs
make
make DESTDIR=$PKG install
+ mkdir -p $PKG/etc/pam.d/polkit-1
install -m644 $SRC/polkit.pam $PKG/etc/pam.d/polkit-1
+ mkdir -p $PKG/var/run/polkit-1
+ mkdir -p $PKG/var/lib/polkit-1
}