# Template file for 'log4cpp'
pkgname=log4cpp
version=1.1.6
revision=1
build_style=gnu-configure
configure_args="--disable-static --without-idsa"
hostmakedepends="autoconf"
makedepends="libnsl-devel"
short_desc="Library of C++ classes for flexible logging"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://log4cpp.sourceforge.net/"
chagnelog="https://raw.githubusercontent.com/log4cpp/log4cpp/refs/heads/master/ChangeLog"
distfiles="${SOURCEFORGE_SITE}/log4cpp/log4cpp-${version}.tar.gz"
checksum=a036bc6bd6044479e6c456de7edd042b060ea5c843e47beb75f59baea9b20e3a

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