summaryrefslogtreecommitdiffstats
path: root/extra/polkit/Pkgfile
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-04-21 16:19:43 +0200
committersibel <lesibel@free.fr>2011-04-21 16:19:43 +0200
commit867ef9269c79f513ff5b9dde358324a2ee83d584 (patch)
tree4e51fa87450c4e4868c7bb2885fb184d03f8db47 /extra/polkit/Pkgfile
parentb1cb2685e0106a78b9f8cae2392083c4bd390d98 (diff)
downloadnutyx-extra-867ef9269c79f513ff5b9dde358324a2ee83d584.tar.gz
nutyx-extra-867ef9269c79f513ff5b9dde358324a2ee83d584.tar.bz2
nutyx-extra-867ef9269c79f513ff5b9dde358324a2ee83d584.tar.xz
nutyx-extra-867ef9269c79f513ff5b9dde358324a2ee83d584.zip
polkit, correction
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
}