summaryrefslogtreecommitdiffstats
path: root/testing/consolekit/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-11-03 08:20:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-11-03 08:20:05 +0000
commitee714a630353a0e576dfeee7a166c9958054cfdb (patch)
tree312546c87c60451b744100b584050ddc7415f077 /testing/consolekit/APKBUILD
parent04c69aa56a6ca0454edb35dc72c053942a8abaa4 (diff)
downloadaports-ee714a630353a0e576dfeee7a166c9958054cfdb.tar.bz2
aports-ee714a630353a0e576dfeee7a166c9958054cfdb.tar.xz
testing/consolekit: new aport
Framework for defining and tracking users, login sessions, and seats http://www.freedesktop.org/wiki/Software/ConsoleKit
Diffstat (limited to 'testing/consolekit/APKBUILD')
-rw-r--r--testing/consolekit/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/consolekit/APKBUILD b/testing/consolekit/APKBUILD
new file mode 100644
index 000000000..56c9602c5
--- /dev/null
+++ b/testing/consolekit/APKBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=consolekit
+pkgver=0.4.2
+pkgrel=0
+pkgdesc="Framework for defining and tracking users, login sessions, and seats"
+url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
+license="GPL-2"
+depends=
+makedepends="polkit-dev zlib-dev libx11-dev dbus-glib-dev"
+depends_dev="dbus-dev"
+install=
+subpackages="$pkgname-dev $pkgname-doc"
+source="http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2"
+
+_builddir="$srcdir"/ConsoleKit-$pkgver
+
+prepare() {
+ cd "$_builddir"
+ # apply patches here
+}
+
+build() {
+ cd "$_builddir"
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+md5sums="285acb35bfcb2b8dc21c6071e6f6e116 ConsoleKit-0.4.2.tar.bz2"