From: Qin Su <[email protected]>

Signed-off-by: Qin Su <[email protected]>
Signed-off-by: Jacob Stiffler <[email protected]>
---
Changes from previous versions:
* Add "_git" suffix to recipe name.
* Add version.
* DESCRIPTION --> SUMMARY.
* Add branch option for SRC_URI.
* For installation, use install by looping over *.h files.
* Remove bash-completion package as the file is not present.

 meta-arago-extras/recipes-support/stb/stb_git.bb | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 meta-arago-extras/recipes-support/stb/stb_git.bb

diff --git a/meta-arago-extras/recipes-support/stb/stb_git.bb 
b/meta-arago-extras/recipes-support/stb/stb_git.bb
new file mode 100644
index 0000000..4181007
--- /dev/null
+++ b/meta-arago-extras/recipes-support/stb/stb_git.bb
@@ -0,0 +1,22 @@
+SUMMARY = "single-file public domain (or MIT licensed) libraries for C/C++"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://README.md;md5=42144ce827adcfa5170032f0ea03c227"
+
+PV = "2.31"
+
+BRANCH = "master"
+SRCREV = "e6afb9cbae4064da8c3e69af3ff5c4629579c1d2"
+
+SRC_URI = " \
+    git://github.com/nothings/stb.git;branch=${BRANCH} \
+"
+
+S = "${WORKDIR}/git"
+
+do_install() {
+    install -d ${D}${includedir}
+    for hdr in ${S}/*.h
+    do
+        install -m 0644 $hdr ${D}${includedir}
+    done
+}
-- 
2.7.4

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to