# Template file for 'log4cxx'
pkgname=log4cxx
version=0.10.0
revision=4
build_style=gnu-configure
makedepends="libxml2-devel apr-devel apr-util-devel gdbm-devel"
short_desc="A C++ Logging Library based on Log4J"
maintainer="John Regan <john@jrjrtech.com>"
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=0de0396220a9566a580166e66b39674cb40efd2176f52ad2c65486c99c920c8c
wrksrc="apache-${pkgname}-${version}"

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