summaryrefslogtreecommitdiffstats
path: root/polkit/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'polkit/Pkgfile')
-rwxr-xr-xpolkit/Pkgfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/polkit/Pkgfile b/polkit/Pkgfile
new file mode 100755
index 000000000..324fbbbc9
--- /dev/null
+++ b/polkit/Pkgfile
@@ -0,0 +1,25 @@
+# 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.102
+release=3
+source=(http://hal.freedesktop.org/releases/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+ 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,}
+}