# Template file for 'liblogging'
pkgname=liblogging
version=1.0.2
revision=1
build_style=gnu-configure
configure_args="--disable-static --enable-cached-man-pages"
hostmakedepends="pkg-config"
makedepends="systemd-devel"
short_desc="Easy to use, portable, open source library for system logging"
maintainer="Juan RP <xtraeme@gmail.com>"
license="LGPL-2.1"
homepage="http://www.liblogging.org/"
distfiles="http://download.rsyslog.com/liblogging/${pkgname}-${version}.tar.gz"
checksum=1fecfdc506ee937c21c30d868c76842506dc34ea5eb168b81fd11eb9483e4388

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