aboutsummaryrefslogtreecommitdiffstats
path: root/classes
diff options
context:
space:
mode:
authorMichael Lauer <mickey@vanille-media.de>2007-07-21 23:23:57 +0000
committerMichael Lauer <mickey@vanille-media.de>2007-07-21 23:23:57 +0000
commit6cf33c5a7e270f8df619611dd1f0f2ab8d5f595b (patch)
treea634860b9ddbcd8922bc1c1aa62b12c713f8b853 /classes
parentf2a42448067579648da7512bf759649bed7cb797 (diff)
downloadopenembedded-6cf33c5a7e270f8df619611dd1f0f2ab8d5f595b.tar.gz
EFL: move from building snapshots to cvs again. Reasons:
1.) EFL gained a lot of momentum leading to constant changes 2.) Snapshots were just random cvs dates again. Might as well use SRCDATE to pin them down 3.) <censored by NDA>
Diffstat (limited to 'classes')
-rw-r--r--classes/efl_base.bbclass20
-rw-r--r--classes/efl_library.bbclass9
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*"