void-packages/srcpkgs/atkmm/template

28 lines
830 B
Bash

# Template build file for 'atkmm'.
pkgname=atkmm
version=2.24.1
revision=1
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/${version%.*}/$pkgname-$version.tar.xz"
checksum=26c41d8da37d04eef9f219c6ce87d94852e1cacaad823050e520e1c08a36ed23
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"
}
}