void-packages/srcpkgs/cairomm/template

37 lines
1.1 KiB
Plaintext

# Template build file for 'cairomm'.
pkgname=cairomm
version=1.10.0
revision=7
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libsigc++-devel fontconfig-devel
libpng-devel>=1.6 libXrender-devel cairo-devel>=1.12.14_6"
short_desc="C++ bindings to Cairo vector graphics library"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://www.cairographics.org"
license="GPL-2, MPL-1.1"
distfiles="http://cairographics.org/releases/$pkgname-$version.tar.gz"
checksum=068d96c43eae7b0a3d98648cbfc6fbd16acc385858e9ba6d37b5a47e4dba398f
long_desc="
cairomm is a C++ wrapper for the cairo graphics library. It offers all the
power of cairo with an interface familiar to C++ developers, including use of
the Standard Template Library where it makes sense."
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/share
vmove "usr/lib/cairomm*"
vmove usr/lib/pkgconfig
}
}
cairomm_package() {
depends="cairo>=1.12.14_6"
pkg_install() {
vmove usr
}
}