void-packages/srcpkgs/gtkmm/template
Sir_Boops 06031ac2ce gtkmm: update to 3.22.1
Closes: #6857 [via git-merge-pr]
2017-06-26 22:10:14 -07:00

29 lines
844 B
Bash

# Template build file for 'gtkmm'.
pkgname=gtkmm
version=3.22.1
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="automake libtool pkg-config mm-common"
makedepends="gtk+3-devel glibmm-devel atkmm-devel pangomm-devel"
short_desc="C++ bindings for The GTK+ toolkit (v2)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-$version.tar.xz"
checksum=6a0c2cc0894a69b666e688e5e6e93621d7625db5e77fd37551310d75c00896b0
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
gtkmm-devel_package() {
depends="${makedepends} gtkmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/g[dt]k*"
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}