aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/orc/orc.inc
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/orc/orc.inc')
-rw-r--r--recipes/orc/orc.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/orc/orc.inc b/recipes/orc/orc.inc
new file mode 100644
index 0000000000..7d48806c0e
--- /dev/null
+++ b/recipes/orc/orc.inc
@@ -0,0 +1,18 @@
+DESCRIPTION = "orc - The Oil Runtime Compiler"
+HOMEPAGE = "http://code.entropywave.com/projects/orc/"
+
+SRC_URI = "http://code.entropywave.com/download/orc/orc-${PV}.tar.gz;name=orc"
+
+inherit autotools pkgconfig
+
+BBCLASSEXTEND = "native"
+
+PACKAGES =+ "orc-examples"
+FILES_orc-examples = "${libdir}/orc/*"
+FILES_${PN} = "${bindir}/*"
+
+python populate_packages_prepend () {
+ libdir = bb.data.expand('${libdir}', d)
+ do_split_packages(d, libdir, '^lib(.*)\.so\.*', 'lib%s', 'ORC %s library', extra_depends='', allow_links=True)
+}
+