diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/efl_base.bbclass | 20 | ||||
-rw-r--r-- | classes/efl_library.bbclass | 9 |
2 files changed, 29 insertions, 0 deletions
diff --git a/classes/efl_base.bbclass b/classes/efl_base.bbclass new file mode 100644 index 0000000000..7f170d70f2 --- /dev/null +++ b/classes/efl_base.bbclass @@ -0,0 +1,20 @@ +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-07-10/${SRCNAME}-${PV}.tar.gz" +S = "${WORKDIR}/${SRCNAME}-${PV}" + +do_stage() { + autotools_stage_all +} + +PACKAGES = "${PN}-dbg ${PN} ${PN}-themes ${PN}-dev" +FILES_${PN}-dev += "${bindir}/${PN}-config ${libdir}/pkgconfig/* ${libdir}/lib*.?a ${libdir}/lib*.a" + diff --git a/classes/efl_library.bbclass b/classes/efl_library.bbclass new file mode 100644 index 0000000000..57b16d93f1 --- /dev/null +++ b/classes/efl_library.bbclass @@ -0,0 +1,9 @@ +inherit efl_base + +SRC_URI = "${E_CVS};module=e17/libs/${SRCNAME}" +S = "${WORKDIR}/${SRCNAME}" + +PACKAGES =+ "${PN}-tests" +FILES_${PN}-tests = "${bindir}/${PN} ${bindir}/*_* ${datadir}" +FILES_${PN}-dev += "${bindir}/*-config ${libdir}/${PN}/*.a ${libdir}/${PN}/*.la" +FILES_${PN} = "${libdir}/*.so*" |