void-packages/srcpkgs/atkmm/template

27 lines
821 B
Bash

# Template build file for 'atkmm'.
pkgname=atkmm
version=2.22.7
revision=2
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="pkg-config"
makedepends="libsigc++-devel atk-devel glibmm-devel"
replaces="gtkmm<2.22"
short_desc="Set of interfaces for accessibility (C++ bindings)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/atkmm/2.22/$pkgname-$version.tar.xz"
checksum=bfbf846b409b4c5eb3a52fa32a13d86936021969406b3dcafd4dd05abd70f91b
atkmm-devel_package() {
depends="glibmm-devel atk-devel atkmm>=${version}_${revision}"
short_desc+=" - development files"
replaces="gtkmm-devel<2.22"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/atkmm-1.6
vmove "usr/lib/*.so"
}
}