From e10f93c9c89be97f489b2af2352635ae2ae858cc Mon Sep 17 00:00:00 2001 From: Andrew Benson Date: Mon, 19 Aug 2019 19:32:58 -0500 Subject: [PATCH] New package: log4c-1.2.4 Closes #13802. --- common/shlibs | 1 + srcpkgs/log4c-devel | 1 + srcpkgs/log4c/template | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+) create mode 120000 srcpkgs/log4c-devel create mode 100644 srcpkgs/log4c/template diff --git a/common/shlibs b/common/shlibs index 875162c5906..c95b078e0bf 100644 --- a/common/shlibs +++ b/common/shlibs @@ -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 diff --git a/srcpkgs/log4c-devel b/srcpkgs/log4c-devel new file mode 120000 index 00000000000..d9550e85ad7 --- /dev/null +++ b/srcpkgs/log4c-devel @@ -0,0 +1 @@ +log4c \ No newline at end of file diff --git a/srcpkgs/log4c/template b/srcpkgs/log4c/template new file mode 100644 index 00000000000..28a6fc6d94f --- /dev/null +++ b/srcpkgs/log4c/template @@ -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 " +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" + } +}