void-packages/srcpkgs/glibmm/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

31 lines
821 B
Bash

# Template build file for 'glibmm'
pkgname=glibmm
version=2.42.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool libtool glib-devel"
makedepends="libglib-devel libsigc++-devel"
depends="glib>=2.42"
short_desc="C++ bindings for GLib"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-$version.tar.xz"
checksum=985083d97378d234da27a7243587cc0d186897a4b2d3c1286f794089be1a3397
pre_configure() {
libtoolize -f
}
glibmm-devel_package() {
depends="${makedepends} glibmm>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/share
vmove usr/lib/giomm-2.4
vmove usr/lib/glibmm-2.4
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}