void-packages/srcpkgs/log4c/template

32 lines
839 B
Bash
Raw Normal View History

# Template file for 'log4c'
pkgname=log4c
version=1.2.4
revision=1
build_style=gnu-configure
makedepends="expat-devel"
short_desc="Library for flexible logging to files, syslog and other destinations"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="LGPL-2.1-or-later"
homepage="http://log4c.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/log4c/log4c-${version}.tar.gz"
checksum=5991020192f52cc40fa852fbf6bbf5bd5db5d5d00aa9905c67f6f0eadeed48ea
post_install() {
vsconf ${DESTDIR}/etc/log4crc.sample
rm -f ${DESTDIR}/etc/log4crc.sample
}
log4c-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/bin
vmove usr/include
vmove usr/lib/pkgconfig
vmove usr/share/aclocal
vmove usr/share/man
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}