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