void-packages/srcpkgs/gconfmm/template
Đoàn Trần Công Danh 0c5983fbd1 gconfmm: remove noarch
2020-11-29 18:33:02 +07:00

35 lines
875 B
Bash

# Template file for 'gconfmm'
pkgname=gconfmm
version=2.28.3
revision=4
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"
pkg_install() {
vmove usr/share/doc
}
}
fi