On 13 September 2016 at 08:08, <S.Jaritz@esa-grimma.de> wrote:
??? do_fetch_append () {
???        extract ${S}/example.tar.gz
??? }  

??? do_install () {
???        copy ${S}/ ${D}/opt/
??? }

It's a tarball so use "tar" to extract, and you'll need to mkdir ${D}/opt before copying. but that's barely just pseudocode.

The only gotcha is that do_fetch() is a Python function so you can't just append shell code.  Simply move the extract into do_install().

Ross