void-packages/srcpkgs/gconfmm/template

37 lines
887 B
Bash

# Template file for 'gconfmm'
pkgname=gconfmm
version=2.28.3
revision=3
build_style=gnu-configure
hostmakedepends="pkg-config perl"
makedepends="GConf-devel glibmm-devel"
short_desc="C++ bindings for GConf"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2.1-or-later"
homepage="http://gconfmm.sourceforge.net"
distfiles="${GNOME_SITE}/gconfmm/${version%.*}/gconfmm-${version}.tar.xz"
checksum=d7bd2d29c1a87b85329547fb29a0eca52d944e60699982152775002e24c09228
CXXFLAGS="-std=c++11"
gconfmm-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/lib/gconfmm-2.6/include
vmove usr/lib/*.so
}
}
if [ -z "$CROSS_BUILD" ]; then
gconfmm-doc_package() {
short_desc+=" - documentation"
noarch=yes
pkg_install() {
vmove usr/share/doc
}
}
fi