void-packages/srcpkgs/glibmm/template
2016-09-15 12:28:05 +02:00

30 lines
829 B
Bash

# Template build file for 'glibmm'
pkgname=glibmm
version=2.48.1
revision=1
build_style=gnu-configure
hostmakedepends="automake pkg-config intltool libtool glib-devel mm-common gtk-doc"
makedepends="libglib-devel libsigc++-devel"
short_desc="C++ bindings for GLib"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://gtkmm.sourceforge.net/"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/glibmm/${version%.*}/glibmm-$version.tar.xz"
checksum=dc225f7d2f466479766332483ea78f82dc349d59399d30c00de50e5073157cdf
pre_configure() {
autoreconf -if
}
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
}
}