# Template file for 'log4cplus'
pkgname=log4cplus
version=2.0.6
revision=1
build_style=gnu-configure
configure_args="--with-working-locale"
short_desc="C++ logger very close to Java's log4j"
maintainer="Orphaned <orphan@voidlinux.org>"
license="Apache-2.0"
homepage="https://github.com/log4cplus/log4cplus"
#changelog="https://raw.githubusercontent.com/log4cplus/log4cplus/master/ChangeLog"
distfiles="https://github.com/log4cplus/log4cplus/releases/download/REL_${version//./_}/log4cplus-${version}.tar.xz"
checksum=73519a5e47c40cf375aa6cd28a703b01908b5dcd3f4cb4290db2fef237c8180c

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