2009-11-30 13:34:58 +00:00
|
|
|
# Template file for 'dbus-python'
|
|
|
|
pkgname=dbus-python
|
2013-09-27 01:29:58 +00:00
|
|
|
version=1.2.0
|
2014-01-29 08:42:02 +00:00
|
|
|
revision=2
|
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config python-devel"
|
|
|
|
makedepends="glib-devel dbus-glib-devel python-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
depends="python"
|
|
|
|
pycompile_module="dbus"
|
2009-11-30 13:34:58 +00:00
|
|
|
short_desc="D-Bus Python bindings"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-25 13:59:23 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-06-11 21:05:40 +00:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
|
|
|
|
distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz"
|
2013-09-27 01:29:58 +00:00
|
|
|
checksum=e12c6c8b2bf3a9302f75166952cbe41d6b38c3441bbc6767dbd498942316c6df
|
|
|
|
|
|
|
|
do_configure() {
|
2014-01-29 08:42:02 +00:00
|
|
|
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}
|
2013-09-27 01:29:58 +00:00
|
|
|
}
|
|
|
|
|
2014-01-29 08:42:02 +00:00
|
|
|
post_install() {
|
2011-10-25 13:59:23 +00:00
|
|
|
rm -rf ${DESTDIR}/usr/share/doc
|
|
|
|
}
|
2013-04-12 07:46:44 +00:00
|
|
|
|
2013-09-27 01:29:58 +00:00
|
|
|
dbus-python-devel_package() {
|
2014-01-29 08:42:02 +00:00
|
|
|
depends="python-devel ${sourcepkg}>=${version}_${revision}"
|
2013-09-27 01:29:58 +00:00
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|