39 lines
1.1 KiB
Plaintext
39 lines
1.1 KiB
Plaintext
# Template file for 'dbus-glib'
|
|
pkgname=dbus-glib
|
|
version=0.100.2
|
|
revision=2
|
|
build_style=gnu-configure
|
|
configure_args="--disable-static --disable-bash-completion"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="libglib-devel dbus-devel"
|
|
short_desc="GLib bindings for D-Bus"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
|
|
distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz"
|
|
checksum=a5bb42da921f51c28161e0e54a5a8241d94a1c0499a14007150e9ce743da6ac5
|
|
|
|
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
|
|
}
|
|
|
|
dbus-glib-devel_package() {
|
|
depends="dbus-devel dbus-glib>=$version"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/bin
|
|
vmove usr/include
|
|
vmove usr/share
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|