summaryrefslogtreecommitdiffstats
path: root/package/liblog4c-localtime
diff options
context:
space:
mode:
authorAlexander Varnin <fenixk19@mail.ru>2012-10-10 23:34:26 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-10-21 21:10:17 +0200
commit6d4cdb081020bafa7062c6a8cf052b3d5000635c (patch)
treed9844ac1f4a4bf58318da142eb9ab645417fbb01 /package/liblog4c-localtime
parent464e88c8bd90e52fa128dae2ce20a0edd9a9f0e9 (diff)
downloadbuildroot-novena-6d4cdb081020bafa7062c6a8cf052b3d5000635c.tar.gz
buildroot-novena-6d4cdb081020bafa7062c6a8cf052b3d5000635c.zip
New package liblog4c-localtime
[Peter: minor fixes] Signed-off-by: Alexander Varnin <fenixk19@mail.ru> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/liblog4c-localtime')
-rw-r--r--package/liblog4c-localtime/Config.in11
-rw-r--r--package/liblog4c-localtime/liblog4c-localtime.mk18
2 files changed, 29 insertions, 0 deletions
diff --git a/package/liblog4c-localtime/Config.in b/package/liblog4c-localtime/Config.in
new file mode 100644
index 000000000..a2b7a843f
--- /dev/null
+++ b/package/liblog4c-localtime/Config.in
@@ -0,0 +1,11 @@
+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/
diff --git a/package/liblog4c-localtime/liblog4c-localtime.mk b/package/liblog4c-localtime/liblog4c-localtime.mk
new file mode 100644
index 000000000..3b1642cf1
--- /dev/null
+++ b/package/liblog4c-localtime/liblog4c-localtime.mk
@@ -0,0 +1,18 @@
+ #############################################################
+ #
+ # 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))