summaryrefslogtreecommitdiffstats
path: root/polkit/Pkgfile
blob: 69e9d0ab35f5433f1dab7458454314200f4a22ad (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
# Description: Systeme d'abstraction de materiel
# URL: http://hal.freedesktop.org/docs/polkit
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: expat, linux-pam, gobject-introspection, intltool
# Run on: expat,linux-pam

name=polkit
version=0.105
release=1
source=(http://www.freedesktop.org/software/polkit/releases/polkit-0.105.tar.gz
	polkit.pam)

build() {
	cd $name-$version
	unset MAKEFLAGS
	PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
		--sysconfdir=/etc \
		--libexecdir=/usr/lib/polkit-1 \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-os-type=NuTyX
	make
	make DESTDIR=$PKG install
	mkdir -p $PKG/var/{lib,run}/polkit-1
	mv $PKG/etc/pam.d/polkit{-1,}
}