# Template build file for 'cairomm'.
pkgname=cairomm
version=1.10.0
revision=12
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libsigc++-devel fontconfig-devel libpng-devel libXrender-devel cairo-devel"
depends="cairo>=1.12.14_6"
short_desc="C++ bindings to Cairo vector graphics library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.cairographics.org"
license="GPL-2, MPL-1.1"
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
checksum=068d96c43eae7b0a3d98648cbfc6fbd16acc385858e9ba6d37b5a47e4dba398f

cairomm-devel_package() {
	depends="libsigc++-devel cairo-devel>=1.12.14_6 ${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/cairomm*"
		vmove usr/lib/pkgconfig
	}
}
