void-packages/srcpkgs/log4cplus/template

27 lines
886 B
Bash

# Template file for 'log4cplus'
pkgname=log4cplus
version=2.0.1
revision=2
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=813580059fd91260376e411b3e09c740aa86dedc5f6a0bd975b9b39d5c4370e6
# 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
}
}