aboutsummaryrefslogtreecommitdiffstats
path: root/main/consolekit/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-04-04 19:54:05 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-04-05 06:24:42 +0000
commitda893fac83b4b4ca362dad2dd6da74022ebc6cfc (patch)
tree2b60aa96f04027f8825ae47d7123ef07824f699b /main/consolekit/APKBUILD
parent2fc711e1efa9914b74f363423659f468e2d66205 (diff)
downloadaports-da893fac83b4b4ca362dad2dd6da74022ebc6cfc.tar.bz2
aports-da893fac83b4b4ca362dad2dd6da74022ebc6cfc.tar.xz
main/consolekit: support for busybox reboot/poweroff
Diffstat (limited to 'main/consolekit/APKBUILD')
-rw-r--r--main/consolekit/APKBUILD15
1 files changed, 11 insertions, 4 deletions
diff --git a/main/consolekit/APKBUILD b/main/consolekit/APKBUILD
index ba9a93fab8..b5ff6878cb 100644
--- a/main/consolekit/APKBUILD
+++ b/main/consolekit/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=consolekit
pkgver=0.4.4
-pkgrel=0
+pkgrel=1
pkgdesc="Framework for defining and tracking users, login sessions, and seats"
url="http://www.freedesktop.org/wiki/Software/ConsoleKit"
arch="all"
@@ -11,13 +11,19 @@ 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"
+source="http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-$pkgver.tar.bz2
+ 0001-busybox-reboot-and-poweroff-support.patch
+ "
_builddir="$srcdir"/ConsoleKit-$pkgver
prepare() {
cd "$_builddir"
- # apply patches here
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
}
build() {
@@ -36,4 +42,5 @@ package() {
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="b57eb18eae8c4d3631d5f4f030218a29 ConsoleKit-0.4.4.tar.bz2"
+md5sums="b57eb18eae8c4d3631d5f4f030218a29 ConsoleKit-0.4.4.tar.bz2
+acc4f44190cd677f95fd529d528c9cef 0001-busybox-reboot-and-poweroff-support.patch"