# Template build file for 'libglademm'.
pkgname=libglademm
version=2.6.7
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="gtkmm2-devel libglade-devel"
homepage="http://www.gtkmm.org"
license="GPL-2"
short_desc="Runtime interpreter for GLADE GUI files (gtkmm2 binding)"
maintainer="davehome <davehome@redthumb.info.tm>"
distfiles="${GNOME_SITE}/$pkgname/2.6/$pkgname-$version.tar.bz2"
checksum=38543c15acf727434341cc08c2b003d24f36abc22380937707fc2c5c687a2bc3
long_desc="
 Libglade is a library that performs a similar job to the C source
 output routines in the GLADE user interface builder. Whereas GLADE's
 output routines create C code that can then be compiled, libglade builds
 the interface from an XML file (GLADE's save format) at runtime. This
 way you can change the look of a program without needing to recompile.

 Currently it supports all the widgets in current releases, together
 with support for keyboard accelerators and automatic signal
 connection.

 This is the gtkmm2 binding"

libglademm-devel_package() {
	depends="libglademm>=${version}"
	short_desc+=" -- development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/libglademm-2.4
		vmove usr/lib/pkgconfig
		vmove usr/share
	}
}

libglademm_package() {
	pkg_install() {
		vmove usr
	}
}
