# Description: Implémentation C# de DBus
# URL: http://www.ndesk.org/DBusSharp
# Maintainer: NuTyX GNOME team
# Packager: piernov <piernov@piernov.org>
# Depends on: mono
# Run on: mono

name=ndesk-dbus
version=0.6.1a
release=1
source=(http://www.ndesk.org/archive/dbus-sharp/$name-$version.tar.gz
	namespace-support.patch)

build() {
	cd $name-$version
	patch -p1 < ../namespace-support.patch
	export MONO_SHARED_DIR="$SRC/.wabi"
	mkdir -p $MONO_SHARED_DIR
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var
	make
	make DESTDIR=$PKG install
}