void-packages/srcpkgs/dbus-glib/template

37 lines
1 KiB
Text
Raw Normal View History

# Template file for 'dbus-glib'
pkgname=dbus-glib
2014-02-17 10:59:47 +00:00
version=0.102
revision=3
build_style=gnu-configure
2011-06-25 09:56:35 +00:00
configure_args="--disable-static --disable-bash-completion"
hostmakedepends="pkg-config"
2013-05-07 09:40:05 +00:00
makedepends="libglib-devel dbus-devel"
short_desc="GLib bindings for D-Bus"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-03 18:16:48 +00:00
license="GPL-2"
2012-06-27 08:18:46 +00:00
homepage="http://www.freedesktop.org/wiki/Software/DBusBindings"
distfiles="http://dbus.freedesktop.org/releases/$pkgname/$pkgname-$version.tar.gz"
2014-02-17 10:59:47 +00:00
checksum=6964ed585bb8149a14ab744b5ded5e77cf71ec5446e6dcc5fcf5eebcc52df29c
2013-05-07 09:40:05 +00:00
if [ "$CROSS_BUILD" ]; then
configure_args+=" --with-dbus-binding-tool=dbus-binding-tool"
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 glib-devel ${sourcepkg}>=${version}_${revision}"
2013-05-07 09:40:05 +00:00
short_desc+=" - development files"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/share
vmove usr/lib/pkgconfig
2014-02-17 10:59:47 +00:00
vmove "usr/lib/*.so"
}
}