aboutsummaryrefslogtreecommitdiffstats
path: root/main/dbus/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/dbus/APKBUILD')
-rw-r--r--main/dbus/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/main/dbus/APKBUILD b/main/dbus/APKBUILD
new file mode 100644
index 0000000000..054db27875
--- /dev/null
+++ b/main/dbus/APKBUILD
@@ -0,0 +1,37 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=dbus
+pkgver=1.2.16
+pkgrel=1
+pkgdesc="Freedesktop.org message bus system"
+url="http://www.freedesktop.org/Software/dbus"
+license="GPL custom"
+subpackages="$pkgname-dev $pkgname-doc"
+depends=
+makedepends="expat-dev libx11-dev pkgconfig util-linux-ng-dev"
+depends_dev="util-linux-ng-dev"
+install="$pkgname.pre-install"
+source="http://$pkgname.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz
+ $pkgname.initd
+ "
+
+build() {
+ cd "$srcdir"/$pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-xml=expat \
+ --with-dbus-user=messagebus \
+ --with-system-pid-file=/var/run/dbus.pid \
+ --disable-verbose-mode \
+ --disable-static \
+ --enable-inotify \
+ --disable-dnotify \
+ --disable-tests \
+ --disable-asserts \
+ --with-x || return 1
+ make || return 1
+ make DESTDIR="$pkgdir" install
+ install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus
+}
+md5sums="c7a47b851ebe02f6726b65b78d1b730b dbus-1.2.16.tar.gz
+58356b4db650a89312a670c02804c540 dbus.initd"