Commit 6d4cdb08 authored by Alexander Varnin's avatar Alexander Varnin Committed by Peter Korsgaard
Browse files

New package liblog4c-localtime



[Peter: minor fixes]
Signed-off-by: default avatarAlexander Varnin <fenixk19@mail.ru>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 464e88c8
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -485,6 +485,7 @@ source "package/poco/Config.in"
source "package/protobuf/Config.in"
source "package/schifra/Config.in"
source "package/startup-notification/Config.in"
source "package/liblog4c-localtime/Config.in"
endmenu

menu "Text and terminal handling"
+11 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_LIBLOG4C_LOCALTIME
	bool "liblog4c-localtime"
	select BR2_PACKAGE_EXPAT
	help
	  Log4c is a library of C for flexible logging to files, syslog
	  and other destinations.
	  This version is with localtime patch, to make lib show times in
	  local timezone.

	  https://github.com/rcmadruga/log4c-localtime
	  http://log4c.sourceforge.net/
+18 −0
Original line number Diff line number Diff line
 #############################################################
 #
 # liblog4c
 #
 #############################################################
 LIBLOG4C_LOCALTIME_VERSION = 1.0
 LIBLOG4C_LOCALTIME_SITE    = https://github.com/rcmadruga/log4c-localtime/tarball/v$(LIBLOG4C_LOCALTIME_VERSION)
 LIBLOG4C_LOCALTIME_INSTALL_STAGING = YES
 LIBLOG4C_LOCALTIME_CONF_OPT = --disable-expattest
 LIBLOG4C_LOCALTIME_DEPENDENCIES = expat

define LIBLOG4C_LOCALTIME_FIX_CONFIGURE_PERMS
	chmod +x $(@D)/configure
endef

LIBLOG4C_LOCALTIME_PRE_CONFIGURE_HOOKS += LIBLOG4C_LOCALTIME_FIX_CONFIGURE_PERMS

 $(eval $(autotools-package))