summaryrefslogtreecommitdiffstats
path: root/main/dbus-glib/APKBUILD
blob: 9942f6f872b1718e9f7c5fe20e5184d4669a6d13 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dbus-glib
pkgver=0.100.2
pkgrel=0
pkgdesc="GLib bindings for DBUS"
url="http://www.freedesktop.org/wiki/Software/DBusBindings"
arch="all"
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
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="ad0920c7e3aad669163bb59171cf138e  dbus-glib-0.100.2.tar.gz"
sha256sums="a5bb42da921f51c28161e0e54a5a8241d94a1c0499a14007150e9ce743da6ac5  dbus-glib-0.100.2.tar.gz"
sha512sums="f7bbbeac189a724b7f95dce42e8adaf533a1d1c038521990d0eb2cb41c3f088a93d432c257a75dcce31419a55020455084d983b9471ace385c497f659a39ef59  dbus-glib-0.100.2.tar.gz"