void-packages/srcpkgs/glibmm/template
2013-10-11 16:25:52 +02:00

42 lines
1.2 KiB
Text

# Template build file for 'glibmm'
pkgname=glibmm
version=2.38.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config intltool libtool glib-devel>=2.38"
makedepends="libglib-devel>=2.38 libsigc++-devel>=2.2.10"
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=f37bab6bedb7b68045e356feca9e27760a5ce50d95df07156656a0e1deabc402
long_desc="
glibmm (previously known as GLib--) is the official C++ interface for the
popular GUI library GTK+. Highlights include typesafe callbacks, widgets
extensible via inheritance and a comprehensive set of widget classes that
can be freely combined to quickly create complex user interfaces."
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"
}
}
glibmm_package() {
depends="glib>=2.38"
pkg_install() {
vmove all
}
}