void-packages/srcpkgs/glibmm/template

32 lines
856 B
Plaintext

# Template build file for 'glibmm'
pkgname=glibmm
version=2.40.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool libtool glib-devel>=2.40"
makedepends="libglib-devel>=2.40 libsigc++-devel>=2.2.10"
depends="glib>=2.38"
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=34f320fad7e0057c63863706caa802ae0051b21523bed91ec33baf8421ca484f
pre_configure() {
libtoolize -f
}
glibmm-devel_package() {
depends="libglib-devel libsigc++-devel 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"
}
}