[oe-commits] org.oe.dev classes: update efl1 and e for E revamp

mickeyl commit openembedded-commits at lists.openembedded.org
Thu Jun 21 04:03:35 UTC 2007


classes: update efl1 and e for E revamp

Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: 3c408cdc814f6456e73cbb6e07b74651ceacad32
ViewMTN: http://monotone.openembedded.org/revision.psp?id=3c408cdc814f6456e73cbb6e07b74651ceacad32
Files:
1
classes/efl1.bbclass
classes/e.bbclass
Diffs:

#
# mt diff -r140ea3961e28782ff164b61a893b9d53e4842e9d -r3c408cdc814f6456e73cbb6e07b74651ceacad32
#
# 
# 
# add_file "classes/efl1.bbclass"
#  content [05253e5fc23910b56de2c50c38a1e2e0b154f242]
# 
# patch "classes/e.bbclass"
#  from [69aaeba4a46fd50e8516264b9cc962db3d471676]
#    to [312ae44c83581d25ea920d0970eb19ad5677206f]
# 
============================================================
--- classes/efl1.bbclass	05253e5fc23910b56de2c50c38a1e2e0b154f242
+++ classes/efl1.bbclass	05253e5fc23910b56de2c50c38a1e2e0b154f242
@@ -0,0 +1,36 @@
+inherit autotools pkgconfig
+
+do_prepsources () {
+  make clean distclean || true
+}
+addtask prepsources after do_fetch before do_unpack
+
+SECTION = "e/libs"
+HOMEPAGE = "http://www.enlightenment.org"
+SRCNAME = "${@bb.data.getVar('PN', d, 1).replace('-native', '')}"
+SRC_URI = "http://download.enlightenment.org/snapshots/2007-06-17/${SRCNAME}-${PV}.tar.gz"
+S = "${WORKDIR}/${SRCNAME}-${PV}"
+
+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() {
+	autotools_stage_all
+}
+
+efl_stage_bin() {
+            rm -rf ${STAGE_TEMP}
+            mkdir -p ${STAGE_TEMP}
+            make DESTDIR="${STAGE_TEMP}" install
+            cp -pPR ${STAGE_TEMP}/${bindir}/* ${STAGING_BINDIR_CROSS}
+            rm -rf ${STAGE_TEMP}
+}
+
+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}"
============================================================
--- classes/e.bbclass	69aaeba4a46fd50e8516264b9cc962db3d471676
+++ classes/e.bbclass	312ae44c83581d25ea920d0970eb19ad5677206f
@@ -1,5 +1,6 @@ SECTION = "e/apps"
 HOMEPAGE = "http://www.enlightenment.org"
 SECTION = "e/apps"
+SRC_URI = "http://download.enlightenment.org/snapshots/2007-06-17/${PN}-${PV}.tar.gz"
 
 inherit autotools pkgconfig binconfig
 






More information about the Openembedded-commits mailing list