aboutsummaryrefslogtreecommitdiffstats
path: root/main/consolekit/APKBUILD
diff options
context:
space:
mode:
authorWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 01:12:39 -0600
committerWilliam Pitcock <nenolod@dereferenced.org>2011-01-13 01:13:05 -0600
commitef9a2272a50f755ca87e6333261f3f99e7eb1425 (patch)
tree089c205458d60fb5c9b152a5e54066093b2078c7 /main/consolekit/APKBUILD
parent5dcfde2881184a0aec6327c6f79fa73e84020a6f (diff)
downloadaports-ef9a2272a50f755ca87e6333261f3f99e7eb1425.tar.bz2
aports-ef9a2272a50f755ca87e6333261f3f99e7eb1425.tar.xz
main/consolekit: promoted from testing (for lxdm)
Diffstat (limited to 'main/consolekit/APKBUILD')
-rw-r--r--main/consolekit/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/consolekit/APKBUILD b/main/consolekit/APKBUILD
new file mode 100644
index 0000000000..84150679d8
--- /dev/null
+++ b/main/consolekit/APKBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=consolekit
+pkgver=0.4.3
+pkgrel=1
+pkgdesc="Framework for defining and tracking users, login sessions, and seats"
+url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
+arch="all"
+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 \
+ --localstatedir=/var \
+ || return 1
+ make || return 1
+}
+
+package() {
+ cd "$_builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+
+md5sums="4c39c6eacc75334b890f21eead1d2945 ConsoleKit-0.4.3.tar.bz2"