void-packages/srcpkgs/log4cplus/template
2016-12-06 23:00:32 +01:00

25 lines
743 B
Bash

# Template file for 'log4cplus'
pkgname=log4cplus
version=1.2.0
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="GPL-2"
homepage="http://log4cplus.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=93aa5b26425f0b1596c5e5b3d58916988fdd83b359a02ca59878eb5c7c2ec6c2
# 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
}
}