# $Header: /magellan-cvs/smage/dbus-glib/dbus-glib-0.74-r2.smage2,v 1.1 2008/03/21 10:36:24 niro Exp $ PNAME="dbus-glib" PVER="0.74" PBUILD="r2" PCATEGORIE="dev-libs" STATE="unstable" DESCRIPTION="D-BUS glib bindings." HOMEPAGE="http://www.freedesktop.org/wiki/Software/DBusBindings" DEPEND=">= sys-apps/dbus-1.1 >= dev-libs/libxml2-2.6.31 >= dev-libs/glib2-2.16" SDEPEND=">= dev-util/pkgconfig-0.23" SRCFILE="${PNAME}-${PVER}.tar.gz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" SRC_URI=( http://dbus.freedesktop.org/releases/${PNAME}/${SRCFILE} mirror://${PNAME}/${SRCFILE} mirror://${PNAME}/${PNAME}-0.72-introspection.patch ) src_prepare() { munpack ${SRCFILE} || die cd ${SRCDIR} mpatch -Np1 ${PNAME}-0.72-introspection.patch || die } src_compile() { cd ${SRCDIR} mconfigure \ --with-system-pid-file=/var/run/dbus.pid \ --with-system-socket=/var/run/dbus/system_bus_socket \ --with-session-socket-dir=/tmp \ --with-test-socket-dir=/tmp \ --localstatedir=/var \ --with-dbus-user=messagebus \ --with-xml=libxml \ --disable-verbose-mode \ --disable-checks \ --disable-asserts \ --disable-doxygen-docs \ --disable-xml-docs \ || die mmake || die } src_install() { cd ${SRCDIR} mmake DESTDIR=${BINDIR} install || die minstalldocs AUTHORS ChangeLog COPYING HACKING NEWS README || die }