# Template file for 'log4cxx'
pkgname=log4cxx
version=1.5.0
revision=1
build_style=cmake
hostmakedepends="pkg-config zip"
makedepends="libxml2-devel apr-devel apr-util-devel gdbm-devel"
short_desc="C++ Logging Library based on Log4J"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://logging.apache.org/log4cxx/"
distfiles="https://archive.apache.org/dist/logging/log4cxx/${version}/apache-log4cxx-${version}.tar.gz"
checksum=aa23f47c3164aa2cf848c2258b4b4bc372e7964d4a3ed47c2b4a4a915c5dfa37

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