summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/orc/orc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/orc/orc.inc')
-rw-r--r--meta/recipes-devtools/orc/orc.inc25
1 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-devtools/orc/orc.inc b/meta/recipes-devtools/orc/orc.inc
new file mode 100644
index 0000000..b134831
--- /dev/null
+++ b/meta/recipes-devtools/orc/orc.inc
@@ -0,0 +1,25 @@
1SUMMARY = "Optimised Inner Loop 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}