summaryrefslogtreecommitdiff
path: root/packages/nonworking/efl/ecore.inc
diff options
context:
space:
mode:
Diffstat (limited to 'packages/nonworking/efl/ecore.inc')
-rw-r--r--packages/nonworking/efl/ecore.inc46
1 files changed, 46 insertions, 0 deletions
diff --git a/packages/nonworking/efl/ecore.inc b/packages/nonworking/efl/ecore.inc
new file mode 100644
index 0000000000..60c18cacc3
--- /dev/null
+++ b/packages/nonworking/efl/ecore.inc
@@ -0,0 +1,46 @@
+DESCRIPTION = "Ecore is the core event abstraction layer for the enlightenment \
+foundation libraries. It makes makes doing selections, drag and drop, event loops, \
+timeouts and idle handlers fast, optimized, and convenient."
+LEAD_SONAME = "libecore.so"
+LICENSE = "MIT"
+# can also have openssl, dbus, iconv
+DEPENDS += "virtual/evas curl eet"
+PROVIDES += "virtual/ecore"
+
+inherit efl
+
+SRC_URI = "http://enlightenment.freedesktop.org/files/ecore-${PV}.tar.gz \
+ file://ecore_kernel_input_header.patch;patch=1 \
+ ${E_CVS};module=e17/libs/ecore/m4;date=20070501"
+# file://fix-tslib-configure.patch;patch=1 \
+# file://configure.patch;patch=1 \
+
+S = "${WORKDIR}/ecore-${PV}"
+FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ecore"
+
+EXTRA_OECONF = "<override me>"
+
+libraries = ""
+headers = ""
+parts = "<override me>"
+
+do_configure_prepend() {
+ if [ -e "${WORKDIR}/m4" ]; then
+ install -d "${S}/m4"
+ install "${WORKDIR}/m4/"*.m4 "${S}/m4"
+ aclocal -I m4
+ fi
+}
+
+do_stage_append() {
+ for p in ${parts}; do
+ dir=`echo $p|tr A-Z a-z`
+ install -m 0644 ${S}/src/lib/$dir/$p*.h ${STAGING_INCDIR}/
+ oe_libinstall -C src/lib/$dir lib$dir ${STAGING_LIBDIR}/
+ done
+ install -m 0644 ${S}/src/lib/ecore/Ecore_Data.h ${STAGING_INCDIR}/
+# install -m 0644 ${S}/ecore.m4 ${STAGING_DATADIR}/aclocal/
+}
+
+FILES_${PN} += "${libdir}/ecore_config_ipc_ecore.so.*"
+FILES_${PN}-dev += "${libdir}/ecore_config_ipc_ecore.so"