summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/orc/orc.inc25
-rw-r--r--meta/recipes-devtools/orc/orc_0.4.18.bb6
2 files changed, 31 insertions, 0 deletions
diff --git a/meta/recipes-devtools/orc/orc.inc b/meta/recipes-devtools/orc/orc.inc
new file mode 100644
index 0000000000..6fd66a3d5b
--- /dev/null
+++ b/meta/recipes-devtools/orc/orc.inc
@@ -0,0 +1,25 @@
1DESCRIPTION = "orc - The Oil Runtime Compiler"
2HOMEPAGE = "http://code.entropywave.com/projects/orc/"
3LICENSE = "BSD-2-Clause & BSD-3-Clause"
4LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e"
5
6INC_PR = "r2"
7
8SRC_URI = "http://code.entropywave.com/download/orc/orc-${PV}.tar.gz;name=orc"
9
10inherit autotools pkgconfig
11
12BBCLASSEXTEND = "native nativesdk"
13
14PACKAGES =+ "orc-examples"
15FILES_orc-examples = "${libdir}/orc/*"
16FILES_${PN} = "${bindir}/*"
17
18python populate_packages_prepend () {
19 libdir = d.expand('${libdir}')
20 do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
21}
22
23do_compile_prepend_virtclass-native () {
24 sed -i -e 's#/tmp#.#g' ${S}/orc/orccodemem.c
25}
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 0000000000..2375d8c696
--- /dev/null
+++ b/meta/recipes-devtools/orc/orc_0.4.18.bb
@@ -0,0 +1,6 @@
1require orc.inc
2
3PR = "${INC_PR}.0"
4
5SRC_URI[orc.md5sum] = "1a2552e8d127526c48d644fe6437b377"
6SRC_URI[orc.sha256sum] = "34d3c8a7259f42bed4dcfbc106c5e3d0cc8e17eeaa73128d1c5eaf92883a6a24"