void-packages/srcpkgs/log4cplus/template

27 lines
886 B
Bash

# Template file for 'log4cplus'
pkgname=log4cplus
version=2.0.2
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=8ff4055be749f17f3648694bd5778bfd86d33158cceaa616a50c0299d6035b41
# 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
}
}