summaryrefslogtreecommitdiffstats
path: root/main/eggdbus/APKBUILD
blob: 6ffb866b01c67c1f6fac9280b1e5eb4a2c3ad7ad (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
# Contributor: Carlo Landmeter 
# Maintainer: 
pkgname=eggdbus
pkgver=0.6
pkgrel=3
pkgdesc="Experimental D-Bus bindings for GObject"
url="http://www.freedesktop.org/wiki/Software/Policykit"
arch="all"
license="GPL"
depends=""
makedepends="glib-dev dbus-glib-dev"
install=
subpackages="$pkgname-dev $pkgname-doc"
source="http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--disable-static \
		|| return 1

	make -j1 || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install
	rm "$pkgdir"/usr/lib/*.la
}

md5sums="b43d2a6c523fcb8b9d0b0300c4222386  eggdbus-0.6.tar.gz"