# Template file for 'dbus-python' pkgname=dbus-python version=1.2.0 revision=3 lib32disabled=yes build_style=gnu-configure hostmakedepends="pkg-config python-devel" makedepends="glib-devel dbus-glib-devel python-devel" depends="python" pycompile_module="dbus" short_desc="D-Bus Python bindings" maintainer="Juan RP " license="GPL-2, LGPL-2.1" homepage="http://www.freedesktop.org/wiki/Software/DBusBindings" distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz" checksum=e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df do_configure() { if [ "$CROSS_BUILD" ]; then # create a python-config wrapper to fake --includes install -m755 ${XBPS_SRCPKGDIR}/py2cairo/files/python-config ${wrksrc} export PATH=${wrksrc}:$PATH fi env PYTHON=python ./configure ${configure_args} } post_install() { rm -rf ${DESTDIR}/usr/share/doc } dbus-python-devel_package() { lib32disabled=yes depends="python-devel ${sourcepkg}>=${version}_${revision}" short_desc+=" - development files" pkg_install() { vmove usr/include vmove usr/lib/pkgconfig } }