void-packages/srcpkgs/log4cplus/template

27 lines
886 B
Bash

# Template file for 'log4cplus'
pkgname=log4cplus
version=2.0.0
revision=1
build_style=gnu-configure
configure_args="--with-working-locale"
short_desc="C++ logger very close to Java's log4j"
maintainer="Juergen Buchmueller <pullmoll@t-online.de>"
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=8c85e769c3dbec382ed4db91f15e5bc24ba979f810262723781f2fc596339bf4
# Reduce log spamming for deprecated auto_ptr
# CXXFLAGS="-Wno-deprecated-declarations"
log4cplus-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}