void-packages/srcpkgs/cairomm/template
2016-12-13 13:45:51 +01:00

24 lines
784 B
Bash

# Template build file for 'cairomm'.
pkgname=cairomm
version=1.12.2
revision=2
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=45c47fd4d0aa77464a75cdca011143fea3ef795c4753f6e860057da5fb8bd599
cairomm-devel_package() {
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/cairomm*"
vmove usr/lib/pkgconfig
}
}