void-packages/srcpkgs/gtkmm/template
2015-09-29 18:26:25 +02:00

29 lines
812 B
Bash

# Template build file for 'gtkmm'.
pkgname=gtkmm
version=3.18.0
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="libtool pkg-config"
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=829fa113daed74398c49c3f2b7672807f58ba85d0fa463f5bc726e1b0138b86b
pre_configure() {
libtoolize -f
}
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"
}
}