]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/efl/ecore.inc
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / efl / ecore.inc
1 DESCRIPTION = "Ecore is the core event abstraction layer for the enlightenment \
2 foundation libraries. It makes makes doing selections, drag and drop, event loops, \
3 timeouts and idle handlers fast, optimized, and convenient."
4 LEAD_SONAME = "libecore.so"
5 LICENSE = "MIT"
6 # can also have openssl, dbus
7 DEPENDS += "virtual/evas curl eet"
8 PROVIDES += "virtual/ecore"
9
10 inherit efl
11
12 SRC_URI = "http://enlightenment.freedesktop.org/files/ecore-${PV}.tar.gz \
13            file://configure.patch;patch=1 \
14            file://fix-tslib-configure.patch;patch=1 \
15            cvs://anonymous@thinktux.net/root;module=e17/libs/ecore/m4;date=20060101"
16
17 S = "${WORKDIR}/ecore-${PV}"
18 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ecore"
19
20 EXTRA_OECONF = "<override me>"
21
22 libraries = ""
23 headers = ""
24 parts = "<override me>"
25
26 do_configure_prepend() {
27         if [ -e "${WORKDIR}/m4" ]; then
28                 install -d "${S}/m4"
29                 install "${WORKDIR}/m4/"*.m4 "${S}/m4"
30                 aclocal -I m4
31         fi
32 }
33
34 do_stage_append() {
35         for p in ${parts}; do
36                 dir=`echo $p|tr A-Z a-z`
37                 install -m 0644 ${S}/src/lib/$dir/$p*.h ${STAGING_INCDIR}/
38                 oe_libinstall -C src/lib/$dir lib$dir ${STAGING_LIBDIR}/
39         done
40         install -m 0644 ${S}/src/lib/ecore/Ecore_Data.h ${STAGING_INCDIR}/
41         install -m 0644 ${S}/ecore.m4 ${STAGING_DATADIR}/aclocal/
42 }
43
44 FILES_${PN} += "${libdir}/libecore*.so* ${libdir}/ecore_config_ipc_ecore.so"