blob: 7ac1e67a58b824961c79cc755820249f717f7eff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dbus
pkgver=1.4.8
pkgrel=1
pkgdesc="Freedesktop.org message bus system"
url="http://www.freedesktop.org/Software/dbus"
pkggroups="messagebus"
arch="all"
license="GPL custom"
subpackages="$pkgname-dev $pkgname-doc"
triggers="$pkgname.trigger=/etc/dbus-1/system.d"
depends=
makedepends="expat-dev libx11-dev pkgconfig util-linux-ng-dev"
depends_dev="util-linux-ng-dev"
install="$pkgname.pre-install $pkgname.post-install"
source="http://dbus.freedesktop.org/releases/dbus/dbus-$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
}
package() {
cd "$srcdir"/$pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
install -Dm755 "$srcdir"/dbus.initd "$pkgdir"/etc/init.d/dbus
}
md5sums="e30253e15f0f4e6c5ee9e6f0eba5046c dbus-1.4.8.tar.gz
58356b4db650a89312a670c02804c540 dbus.initd"
|