diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-26 11:12:43 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-27 12:22:51 +0000 |
commit | b299866d8394a2908eca9fc0e2f14704f3235a35 (patch) | |
tree | 78a114e30dbf2081c9fce5cb470c3e58efeee483 /main/polkit/APKBUILD | |
parent | f34113d8c6a676f6ddaf9120f9348959c1b6e689 (diff) | |
download | aports-b299866d8394a2908eca9fc0e2f14704f3235a35.tar.bz2 aports-b299866d8394a2908eca9fc0e2f14704f3235a35.tar.xz |
main/polkit: new apkbuild
build with patch to remove pam support.
(cherry picked from commit 6ffac24b9487346fd2b859516630fdb085a6b2b9)
Diffstat (limited to 'main/polkit/APKBUILD')
-rw-r--r-- | main/polkit/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/main/polkit/APKBUILD b/main/polkit/APKBUILD new file mode 100644 index 0000000000..6a1cbde748 --- /dev/null +++ b/main/polkit/APKBUILD @@ -0,0 +1,51 @@ +# Contributor: Carlo Landmeter +# Maintainer: +pkgname=polkit +_pkgname=PolicyKit +pkgver=0.96 +pkgrel=0 +pkgdesc="Application development toolkit for controlling system-wide privileges" +url="http://www.freedesktop.org/wiki/Software/PolicyKit" +license="LGPL" +depends= +makedepends="expat-dev glib-dev eggdbus-dev intltool dbus-glib-dev autoconf + libtool automake gtk-doc" +install= +subpackages="$pkgname-dev $pkgname-doc" +source="http://cgit.freedesktop.org/PolicyKit/snapshot/PolicyKit-$pkgver.tar.bz2 + polkit-1-shadow.diff" + +_builddir="$srcdir"/$_pkgname-$pkgver + +prepare() { + cd "$_builddir" + #We do not need PAM + patch -p1 -i "$srcdir"/polkit-1-shadow.diff +} + +build() { + cd "$_builddir" + ./autogen.sh --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --libexecdir=/usr/lib/polkit-1 \ + --localstatedir=/var \ + --disable-static \ + --disable-nls \ + --disable-introspection \ + --with-authfw=shadow \ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf + + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install +} + +md5sums="fbd8d49310ad885bd559b55633b548e1 PolicyKit-0.96.tar.bz2 +3ad3c2400e8dd33e35806e7aadb964e1 polkit-1-shadow.diff" |