summaryrefslogtreecommitdiffstats
path: root/extra/dbus-glib/Pkgfile
blob: ab4bc05b6307305ce585abeb293193637eb6efdf (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
# Description: Groupe de paquets contenant le langage et les interfaces permetant de communique avec le système d-bus
# URL:  http://www.freedesktop.org/wiki/Software/DBusBindings
# Maintainer: NuTyX coreteam
# Packager: thierryn1 at hispeed dot ch
# Depends on: dbus
# Run on: dbus

name=dbus-glib
version=0.94
release=2
source=(http://dbus.freedesktop.org/releases/$name/$name-$version.tar.gz
	bugfix-in-marshalling-objects-as-object-paths.patch
	registrations-test-only-listen-for-signals-not-all-messages.patch
	regression-test-for-fd.o.patch)

build() {
	cd $name-$version
	patch -p1 < ../bugfix-in-marshalling-objects-as-object-paths.patch
	patch -p1 < ../registrations-test-only-listen-for-signals-not-all-messages.patch 
	patch -p1 < ../regression-test-for-fd.o.patch

	./configure --prefix=/usr \
		--mandir=/usr/share/man \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--libexecdir=/usr/lib \
		--enable-bash-completion
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
}