void-packages/srcpkgs/gtkmm/template
Juan RP 1c5f4690e6 xbps-src: always require current srcpkgs version in build dependencies.
That means that version comparators are not supported anymore in
hostmakedepends and makedepends.

This will ensure that a pkg is always built with the same build dependencies
everywhere, if the srcpkgs tree is uptodate.
2015-03-27 10:59:58 +01:00

25 lines
765 B
Bash

# Template build file for 'gtkmm'.
pkgname=gtkmm
version=3.14.0
revision=1
build_style=gnu-configure
configure_args="--disable-documentation"
hostmakedepends="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@gmail.com>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/gtkmm/${version%.*}/gtkmm-$version.tar.xz"
checksum=d9f528a62c6ec226fa08287c45c7465b2dce5aae5068e9ac48d30a64a378e48b
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"
}
}