2009-03-20 06:38:35 +01:00
|
|
|
# Template file for 'dbus-glib'
|
|
|
|
pkgname=dbus-glib
|
2013-03-05 16:42:46 +01:00
|
|
|
version=0.100.2
|
2013-05-07 11:40:05 +02:00
|
|
|
revision=2
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-06-25 11:56:35 +02:00
|
|
|
configure_args="--disable-static --disable-bash-completion"
|
2013-04-03 11:48:46 +02:00
|
|
|
hostmakedepends="pkg-config"
|
2013-05-07 11:40:05 +02:00
|
|
|
makedepends="libglib-devel dbus-devel"
|
2009-03-20 06:38:35 +01:00
|
|
|
short_desc="GLib bindings for D-Bus"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2011-10-03 20:16:48 +02:00
|
|
|
license="GPL-2"
|
2012-06-27 10:18:46 +02:00
|
|
|
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
|
|
|
|
distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz"
|
2013-03-05 16:42:46 +01:00
|
|
|
checksum=a5bb42da921f51c28161e0e54a5a8241d94a1c0499a14007150e9ce743da6ac5
|
2013-04-12 09:46:44 +02:00
|
|
|
|
2013-05-07 11:40:05 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
configure_args+=" --with-dbus-binding-tool=dbus-binding-tool"
|
|
|
|
configure_args+=" ac_cv_have_abstract_sockets=yes"
|
|
|
|
configure_args+=" ac_cv_func_posix_getpwnam_r=yes"
|
|
|
|
configure_args+=" have_abstract_sockets=yes"
|
|
|
|
hostmakedepends+=" dbus-glib-devel"
|
|
|
|
fi
|
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
# Disable examples.
|
|
|
|
sed -e 's,SUBDIRS = . examples, SUBDIRS = .,' -i dbus/Makefile.in
|
|
|
|
}
|
|
|
|
|
2013-04-12 09:46:44 +02:00
|
|
|
dbus-glib-devel_package() {
|
|
|
|
depends="dbus-devel dbus-glib>=$version"
|
2013-05-07 11:40:05 +02:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 09:46:44 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/share
|
|
|
|
vmove usr/lib/pkgconfig
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dbus-glib_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|