1b809eb9dSBrad BishopDESCRIPTION = "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"
2b809eb9dSBrad BishopHOMEPAGE = "https://github.com/gflags/gflags"
3b809eb9dSBrad BishopLICENSE = "BSD-3-Clause"
4b809eb9dSBrad BishopLIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
5b809eb9dSBrad Bishop
6*595f6308SAndrew GeisslerSRC_URI = "git://github.com/gflags/gflags.git;branch=master;protocol=https"
7b809eb9dSBrad BishopSRCREV = "e171aa2d15ed9eb17054558e0b3a6a413bb01067"
8b809eb9dSBrad Bishop
9b809eb9dSBrad BishopS = "${WORKDIR}/git"
10b809eb9dSBrad Bishop
11b809eb9dSBrad Bishopinherit cmake
12b809eb9dSBrad Bishop
13b809eb9dSBrad BishopEXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF -DLIB_INSTALL_DIR=${baselib}"
14b809eb9dSBrad Bishop
15b809eb9dSBrad BishopPACKAGES =+ "${PN}-bash-completion"
16213cb269SPatrick WilliamsFILES:${PN}-bash-completion += "${bindir}/gflags_completions.sh"
17b809eb9dSBrad Bishop
18213cb269SPatrick WilliamsRDEPENDS:${PN}-bash-completion = "bash bash-completion"
19b809eb9dSBrad Bishop
20b809eb9dSBrad BishopBBCLASSEXTEND = "native nativesdk"
21