Commit 97b7fd05 authored by Rahul Bedarkar's avatar Rahul Bedarkar Committed by Thomas Petazzoni
Browse files
parent 187997eb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1015,6 +1015,7 @@ menu "Other"
	source "package/elfutils/Config.in"
	source "package/fftw/Config.in"
	source "package/flann/Config.in"
	source "package/gflags/Config.in"
	source "package/glibmm/Config.in"
	source "package/glm/Config.in"
	source "package/gmp/Config.in"
+13 −0
Original line number Diff line number Diff line
config BR2_PACKAGE_GFLAGS
	bool "gflags"
	depends on BR2_INSTALL_LIBSTDCPP
	help
	  The gflags package contains a C++ library that implements
	  commandline flags processing. It includes built-in support for
	  standard types such as string and the ability to define flags
	  in the source file in which they are used.

	  https://github.com/gflags/gflags

comment "gflags needs a toolchain w/ C++"
	depends on !BR2_INSTALL_LIBSTDCPP
+2 −0
Original line number Diff line number Diff line
# No hash for v2.1.2, comes from the github-helper:
none	xxx	gflags-v2.1.2.tar.gz
+17 −0
Original line number Diff line number Diff line
################################################################################
#
# gflags
#
################################################################################

GFLAGS_VERSION = v2.1.2
GFLAGS_SITE = $(call github,gflags,gflags,$(GFLAGS_VERSION))
GFLAGS_INSTALL_STAGING = YES
GFLAGS_LICENSE = BSD-3c
GFLAGS_LICENSE_FILES = COPYING.txt

ifeq ($(BR2_TOOLCHAIN_HAS_THREADS),)
GFLAGS_CONF_OPTS = -DBUILD_gflags_LIB=OFF
endif

$(eval $(cmake-package))