void-packages/srcpkgs/log4cplus/template

26 lines
743 B
Bash
Raw Normal View History

2016-12-06 21:54:04 +00:00
# Template file for 'log4cplus'
pkgname=log4cplus
version=1.2.0
2016-12-06 22:00:32 +00:00
revision=2
2016-12-06 21:54:04 +00:00
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"
2016-12-06 22:00:32 +00:00
depends="${sourcepkg}>=${version}_${revision}"
2016-12-06 21:54:04 +00:00
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}