void-packages/srcpkgs/libqb/template
Đoàn Trần Công Danh 3a74dbf301 libqb: trim makedepends, ship man3
libqb requires libxml2 instead of libxml++, which also pulls libxml2 in.
2020-10-31 12:20:41 +07:00

29 lines
813 B
Bash

# Template file for 'libqb'
pkgname=libqb
version=2.0.0
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libxml2-devel"
checkdepends="glib-devel"
short_desc="High performance logging, tracing, ipc, poll"
maintainer="Kevin Klopfenstein <kk@sudo-i.net>"
license="LGPL-2.1-or-later"
homepage="https://clusterlabs.github.io/libqb/"
distfiles="https://github.com/ClusterLabs/libqb/releases/download/v${version}/${pkgname}-${version}.tar.gz"
checksum=8a744547433f26e43aac1b510584aa12ce575700a62d4e7e21a4ed2567b53232
libqb-devel_package() {
depends="libqb>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
for _file in docs/man3/*.3
do
vman "$_file"
done
}
}