# Template file for 'dbus-glib' pkgname=dbus-glib version=0.106 revision=1 build_style=gnu-configure configure_args="--disable-static --disable-bash-completion" hostmakedepends="pkg-config" makedepends="libglib-devel dbus-devel" depends="dbus" short_desc="GLib bindings for D-Bus" maintainer="Juan RP " license="GPL-2" homepage="http://www.freedesktop.org/wiki/Software/DBusBindings" distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz" checksum=b38952706dcf68bad9c302999ef0f420b8cf1a2428227123f0ac4764b689c046 if [ "$CROSS_BUILD" ]; then configure_args+=" --with-dbus-binding-tool=dbus-binding-tool" hostmakedepends+=" dbus-glib-devel" fi pre_configure() { # Disable examples. sed -e 's,SUBDIRS = . examples, SUBDIRS = .,' -i dbus/Makefile.in } dbus-glib-devel_package() { depends="${makedepends} ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/bin vmove usr/include vmove usr/share vmove usr/lib/pkgconfig vmove "usr/lib/*.so" } }