diff options
author | Koen Kooi <koen@openembedded.org> | 2010-03-15 10:15:07 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2010-03-15 10:15:07 +0100 |
commit | da0036099b326b09b3dc8b845a2ddbe8936009e4 (patch) | |
tree | adcd9852edab296e0c5dc075ffcc54cdc3fe4e28 /recipes/orc/orc.inc | |
parent | b2e3219cb67b5601675bca4beea8aa45ed2dff25 (diff) | |
download | openembedded-da0036099b326b09b3dc8b845a2ddbe8936009e4.tar.gz |
orc: fix packaging, recipe style issues and factor into .inc
Diffstat (limited to 'recipes/orc/orc.inc')
-rw-r--r-- | recipes/orc/orc.inc | 18 |
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) +} + |