diff options
-rw-r--r-- | meta/recipes-devtools/orc/orc.inc | 25 | ||||
-rw-r--r-- | meta/recipes-devtools/orc/orc_0.4.18.bb | 6 |
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 @@ | |||
1 | DESCRIPTION = "orc - The Oil Runtime Compiler" | ||
2 | HOMEPAGE = "http://code.entropywave.com/projects/orc/" | ||
3 | LICENSE = "BSD-2-Clause & BSD-3-Clause" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=1400bd9d09e8af56b9ec982b3d85797e" | ||
5 | |||
6 | INC_PR = "r2" | ||
7 | |||
8 | SRC_URI = "http://code.entropywave.com/download/orc/orc-${PV}.tar.gz;name=orc" | ||
9 | |||
10 | inherit autotools pkgconfig | ||
11 | |||
12 | BBCLASSEXTEND = "native nativesdk" | ||
13 | |||
14 | PACKAGES =+ "orc-examples" | ||
15 | FILES_orc-examples = "${libdir}/orc/*" | ||
16 | FILES_${PN} = "${bindir}/*" | ||
17 | |||
18 | python 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 | |||
23 | do_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 @@ | |||
1 | require orc.inc | ||
2 | |||
3 | PR = "${INC_PR}.0" | ||
4 | |||
5 | SRC_URI[orc.md5sum] = "1a2552e8d127526c48d644fe6437b377" | ||
6 | SRC_URI[orc.sha256sum] = "34d3c8a7259f42bed4dcfbc106c5e3d0cc8e17eeaa73128d1c5eaf92883a6a24" | ||