void-packages/srcpkgs/log4cpp/template

26 lines
745 B
Bash

# Template file for 'log4cpp'
pkgname=log4cpp
version=1.1.3
revision=2
build_style=gnu-configure
configure_args="--disable-static --without-idsa"
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/"
distfiles="${SOURCEFORGE_SITE}/log4cpp/log4cpp-${version}.tar.gz"
checksum=2cbbea55a5d6895c9f0116a9a9ce3afb86df383cd05c9d6c1a4238e5e5c8f51d
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
}
}