Patchwork orc: version 0.4.18 migrated from meta-oe

login
register
mail settings
Submitter dv
Date Nov. 6, 2013, 10:59 p.m.
Message ID <1383778783-22034-1-git-send-email-dv@pseudoterminal.org>
Download mbox | patch
Permalink /patch/61217/
State New
Headers show

Comments

dv - Nov. 6, 2013, 10:59 p.m.
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
---
 meta/recipes-devtools/orc/orc.inc       | 25 +++++++++++++++++++++++++
 meta/recipes-devtools/orc/orc_0.4.18.bb |  6 ++++++
 2 files changed, 31 insertions(+)
 create mode 100644 meta/recipes-devtools/orc/orc.inc
 create mode 100644 meta/recipes-devtools/orc/orc_0.4.18.bb

Patch

diff --git a/meta/recipes-devtools/orc/orc.inc b/meta/recipes-devtools/orc/orc.inc
new file mode 100644
index 0000000..6fd66a3
--- /dev/null
+++ b/meta/recipes-devtools/orc/orc.inc
@@ -0,0 +1,25 @@ 
+DESCRIPTION = "orc - The Oil Runtime Compiler"
+HOMEPAGE = "http://code.entropywave.com/projects/orc/"
+LICENSE = "BSD-2-Clause & BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e"
+
+INC_PR = "r2"
+
+SRC_URI = "http://code.entropywave.com/download/orc/orc-${PV}.tar.gz;name=orc"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND = "native nativesdk"
+
+PACKAGES =+ "orc-examples"
+FILES_orc-examples = "${libdir}/orc/*"
+FILES_${PN} = "${bindir}/*"
+
+python populate_packages_prepend () {
+    libdir = d.expand('${libdir}')
+    do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
+}
+
+do_compile_prepend_virtclass-native () {
+    sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c
+}
diff --git a/meta/recipes-devtools/orc/orc_0.4.18.bb b/meta/recipes-devtools/orc/orc_0.4.18.bb
new file mode 100644
index 0000000..2375d8c
--- /dev/null
+++ b/meta/recipes-devtools/orc/orc_0.4.18.bb
@@ -0,0 +1,6 @@ 
+require orc.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[orc.md5sum] = "1a2552e8d127526c48d644fe6437b377"
+SRC_URI[orc.sha256sum] = "34d3c8a7259f42bed4dcfbc106c5e3d0cc8e17eeaa73128d1c5eaf92883a6a24"