void-packages/srcpkgs/log4cplus/template
2018-02-04 20:47:32 +01:00

25 lines
743 B
Bash

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