diff options
author | Michael Lauer <mickey@vanille-media.de> | 2007-06-21 03:55:38 +0000 |
---|---|---|
committer | Michael Lauer <mickey@vanille-media.de> | 2007-06-21 03:55:38 +0000 |
commit | bdb62917622bbb63dc57c3535be15ca9dea4c13a (patch) | |
tree | 90732a754ab55f6dd69fbfe6b7a68cd2444df105 /classes/efl.bbclass | |
parent | 923534e5bd8e956de3bb8a40b02c363bfe15ecdd (diff) |
move older efl stuff to nonworking
Diffstat (limited to 'classes/efl.bbclass')
-rw-r--r-- | classes/efl.bbclass | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/classes/efl.bbclass b/classes/efl.bbclass deleted file mode 100644 index 808bf2eaae..0000000000 --- a/classes/efl.bbclass +++ /dev/null @@ -1,52 +0,0 @@ -inherit e - -SECTION = "e/libs" - -SRCNAME = "${@bb.data.getVar('PN', d, 1).replace('-native', '')}" -SRC_URI = "${E_URI}/${SRCNAME}-${PV}.tar.gz" -S = "${WORKDIR}/${SRCNAME}-${PV}" - -INHIBIT_AUTO_STAGE_INCLUDES = "1" -INHIBIT_NATIVE_STAGE_INSTALL = "1" - -libdirectory = "src/lib" -libraries = "lib${SRCNAME}" -headers = "${@bb.data.getVar('SRCNAME',d,1).capitalize()}.h" - -def efl_is_native(d): - import bb - return ["","-native"][bb.data.inherits_class('native', d)] - -do_stage_append () { - for i in ${libraries} - do - oe_libinstall -C ${libdirectory} $i ${STAGING_LIBDIR} - done - for i in ${headers} - do - install -m 0644 ${libdirectory}/$i ${STAGING_INCDIR} - done - - # Install binaries automatically for native builds - if [ "${@efl_is_native(d)}" = "-native" ] - then - - # Most EFL binaries start with the package name - for i in src/bin/${SRCNAME}* - do - if [ -x $i -a -f $i ] - then - - # Don't install anything with an extension (.so, etc) - if echo $i | grep -v \\. - then - ${HOST_SYS}-libtool --mode=install install -m 0755 $i ${STAGING_BINDIR} - fi - fi - done - fi -} - -PACKAGES = "${PN}-dbg ${PN} ${PN}-themes ${PN}-dev ${PN}-examples" -FILES_${PN}-dev += "${bindir}/${PN}-config ${libdir}/pkgconfig ${libdir}/lib*.?a ${libdir}/lib*.a" -FILES_${PN}-examples = "${bindir} ${datadir}" |