summaryrefslogtreecommitdiffstats
path: root/meta-rcar-gen3-adas/recipes-support/gflags
diff options
context:
space:
mode:
authorGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-09-18 19:08:59 +0300
committerGrigory Kletsko <grigory.kletsko@cogentembedded.com>2017-09-18 19:08:59 +0300
commitea5800aa6aa6ee4bbd205c2c3ee4b688f896df77 (patch)
treef4ea131d21146963123e84fe694681021637ea65 /meta-rcar-gen3-adas/recipes-support/gflags
parent1188bae340037667e958665fede72fd40d9a60b8 (diff)
[CV] Add gflags recipe, necessray for opencv 3.2
Diffstat (limited to 'meta-rcar-gen3-adas/recipes-support/gflags')
-rw-r--r--meta-rcar-gen3-adas/recipes-support/gflags/gflags_git.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-rcar-gen3-adas/recipes-support/gflags/gflags_git.bb b/meta-rcar-gen3-adas/recipes-support/gflags/gflags_git.bb
new file mode 100644
index 0000000..79b5116
--- /dev/null
+++ b/meta-rcar-gen3-adas/recipes-support/gflags/gflags_git.bb
@@ -0,0 +1,20 @@
+SUMMARY = "GFlags library"
+DESCRIPTION = "The gflags package contains a C++ library that implements commandline flags processing"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://${S}/COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
+
+SRC_URI = "git://github.com/gflags/gflags.git"
+SRCREV = "14c0e93755d5a32c3d2029d83094564b8823b7b4"
+
+S = "${WORKDIR}/git"
+
+inherit cmake
+
+RDEPENDS_${PN} += "bash"
+
+EXTRA_OECMAKE = "-DBUILD_SHARED_LIBS=ON -DINSTALL_HEADERS=ON -DINSTALL_SHARED_LIBS=ON"
+
+FILES_${PN}-dev += " \
+ ${libdir}/cmake \
+"