void-packages/srcpkgs/cairomm/template

25 lines
808 B
Bash

# Template build file for 'cairomm'.
pkgname=cairomm
version=1.12.0
revision=1
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=50435aec6fdd976934b791e808993160113ad19ca53a5634a9b64ccbe55874cc
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
}
}