void-packages/srcpkgs/libgnomecanvasmm/template

28 lines
823 B
Bash

# Template file for 'libgnomecanvasmm'
pkgname=libgnomecanvasmm
version=2.26.0
revision=8
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="pkg-config"
makedepends="gtkmm2-devel libgnomecanvas-devel"
short_desc="GNOME Canvas library (gtkmm2 binding)"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.gtkmm.org"
distfiles="${GNOME_SITE}/${pkgname}/2.26/${pkgname}-${version}.tar.bz2"
checksum=996577f97f459a574919e15ba7fee6af8cda38a87a98289e9a4f54752d83e918
CXXFLAGS="-std=c++11"
libgnomecanvasmm-devel_package() {
depends="libgnomecanvas-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" -- development files"
pkg_install() {
vmove usr/include
vmove usr/lib/libgnomecanvasmm-2.6
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}