New package: log4c-1.2.4

Closes #13802.
This commit is contained in:
Andrew Benson 2019-08-19 19:32:58 -05:00 committed by Helmut Pozimski
parent 90aa3aa146
commit e10f93c9c8
3 changed files with 33 additions and 0 deletions

View File

@ -3498,3 +3498,4 @@ libuninameslist.so.1 libuninameslist-20190701_1
libgambit.so.4 gambit-4.9.3_1
liblog4cpp.so.5 log4cpp-1.1.3_1
libnuspell.so.2 libnuspell-2.3.0_1
liblog4c.so.3 log4c-1.2.4_1

1
srcpkgs/log4c-devel Symbolic link
View File

@ -0,0 +1 @@
log4c

31
srcpkgs/log4c/template Normal file
View File

@ -0,0 +1,31 @@
# 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"
}
}