glog: new package

Signed-off-by: Rahul Bedarkar <rahul.bedarkar@imgtec.com>
Reviewed-by: Abhimanyu Vishwakarma <abhimanyu.v@imgtec.com>
Reviewed-by: Marcin Nowakowski <marcin.nowakowski@imgtec.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Rahul Bedarkar 2015-06-10 11:20:49 +05:30 committed by Thomas Petazzoni
parent 315e92c692
commit 082b6f2d92
4 changed files with 31 additions and 0 deletions

View File

@ -896,6 +896,7 @@ menu "JSON/XML"
endmenu
menu "Logging"
source "package/glog/Config.in"
source "package/liblog4c-localtime/Config.in"
source "package/liblogging/Config.in"
source "package/log4cplus/Config.in"

11
package/glog/Config.in Normal file
View File

@ -0,0 +1,11 @@
config BR2_PACKAGE_GLOG
bool "glog"
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
help
C++ implementation of the Google logging module
https://github.com/google/glog
comment "glog needs a toolchain w/ C++, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS

2
package/glog/glog.hash Normal file
View File

@ -0,0 +1,2 @@
# No hash for v0.3.4, comes from the github-helper:
none xxx glog-v0.3.4.tar.gz

17
package/glog/glog.mk Normal file
View File

@ -0,0 +1,17 @@
################################################################################
#
# glog
#
################################################################################
GLOG_VERSION = v0.3.4
GLOG_SITE = $(call github,google,glog,$(GLOG_VERSION))
GLOG_INSTALL_STAGING = YES
GLOG_LICENSE = BSD-3c
GLOG_LICENSE_FILES = COPYING
ifeq ($(BR2_PACKAGE_GFLAGS),y)
GLOG_DEPENDENCIES = gflags
endif
$(eval $(autotools-package))