void-packages/srcpkgs/glibmm/template

34 lines
867 B
Bash

# Template build file for 'glibmm'
pkgname=glibmm
version=2.56.0
revision=3
build_style=gnu-configure
hostmakedepends="mm-common"
makedepends="libglib-devel libsigc++-devel"
short_desc="C++ bindings for GLib"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1-or-later"
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-$version.tar.xz"
checksum=6e74fcba0d245451c58fc8a196e9d103789bc510e1eee1a9b1e816c5209e79a9
glibmm-doc_package() {
noarch=yes
short_desc+=" - documentation"
pkg_install() {
vmove usr/share/doc
vmove usr/share/devhelp
}
}
glibmm-devel_package() {
depends="${makedepends} glibmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/lib/glibmm-2.4
vmove usr/lib/giomm-2.4
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}