gflags: New recipe

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.

Used optionally by glog

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Ricardo Ribalda Delgado 2016-08-11 12:10:45 +02:00 committed by Martin Jansa
parent 6752cba478
commit 32e7012ebd

View File

@ -0,0 +1,20 @@
DESCRIPTION = "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"
HOMEPAGE = "https://github.com/gflags/gflags"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
SRC_URI = "git://github.com/gflags/gflags.git;branch=release"
SRCREV = "1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c"
S = "${WORKDIR}/git/"
FILES_${PN}-dev += "${libdir}/cmake"
inherit cmake
EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON"
PACKAGES =+ "${PN}-bash-completion"
FILES_${PN}-bash-completion += "${bindir}/gflags_completions.sh"
RDEPENDS_${PN}-bash-completion = "bash-completion"