# Template file for 'liblogging'
pkgname=liblogging
version=1.0.6
revision=2
build_style=gnu-configure
configure_args="--disable-static --disable-journal"
hostmakedepends="pkg-config"
short_desc="Easy to use, portable, open source library for system logging"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://www.rsyslog.com/liblogging"
distfiles="http://download.rsyslog.com/liblogging/${pkgname}-${version}.tar.gz"
checksum=338c6174e5c8652eaa34f956be3451f7491a4416ab489aef63151f802b00bf93

liblogging-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}
