void-packages/srcpkgs/gconfmm/template
2015-11-28 03:37:48 +01:00

36 lines
872 B
Bash

# Template file for 'gconfmm'
pkgname=gconfmm
version=2.28.3
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="GConf-devel glibmm-devel"
short_desc="C++ bindings for GConf"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="LGPL-2.1"
homepage="http://gtkmm.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