summaryrefslogtreecommitdiffstats
path: root/main/dbus-glib/APKBUILD
blob: e274d3e372a14375d03ce20c5eafbc4c21e74dfd (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dbus-glib
pkgver=0.86
pkgrel=1
pkgdesc="GLib bindings for DBUS"
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig dbus-dev glib-dev libiconv-dev gettext-dev expat-dev"
source="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"
depends_dev="glib-dev dbus-dev"

build() { 
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-static=no \
		--enable-bash-completion=no || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="cd0ab148fb0c786fc88be49d19971f50  dbus-glib-0.86.tar.gz"