87abeffbf096c52f98d7708ce9d2e20e6477a419
[vuplus_openembedded] / ecore / ecore_cvs.oe
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 HOMEPAGE = "http://www.enlightenment.org"
5 SECTION = "e/libs"
6 PRIORITY = "optional"
7 LEAD_SONAME = "libecore.so"
8 PV = "${CVSDATE}"
9 DEPENDS = "edb eet evas freetype edb-native"
10 PR = "r4"
11
12 SRC_URI = "cvs://anonymous@cvs.sourceforge.net/cvsroot/enlightenment;module=e17/libs/ecore \
13            file://no-x-test.patch;patch=1"
14 S = "${WORKDIR}/ecore"
15
16 inherit autotools binconfig
17
18 export EDB_CONFIG = "${STAGING_BINDIR}/edb-config"
19 export EET_CONFIG = "${STAGING_BINDIR}/eet-config"
20 export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config"
21 export FREETYPE_CONFIG = "${STAGING_BINDIR}/freetype-config"
22
23 EXTRA_OECONF = "--enable-ecore-fb \
24                 --enable-ecore-job \
25                 --enable-ecore-evas-fb \
26                 --disable-ecore-evas-x \
27                 --disable-ecore-evas-gl \
28                 --enable-ecore-con \
29                 --enable-ecore-ipc \
30                 --enable-ecore-txt \
31                 --disable-ecore-x \
32                 --enable-ecore-config \
33                 --disable-openssl"
34
35 parts = "Ecore Ecore_Job \
36          Ecore_Txt Ecore_Fb Ecore_Con \
37          Ecore_Ipc Ecore_Evas Ecore_Config"
38
39 do_stage () {
40         for p in ${parts}; do
41                 dir=`echo $p|tr A-Z a-z`
42                 install -m 0644 ${S}/src/lib/$dir/$p.h ${STAGING_INCDIR}/
43                 oe_libinstall -C src/lib/$dir lib$dir ${STAGING_LIBDIR}/
44         done
45         install -m 0644 ${S}/src/lib/ecore/Ecore_Data.h ${STAGING_INCDIR}/
46         install -m 0644 ${S}/ecore.m4 ${STAGING_DATADIR}/aclocal/
47 }
48
49 PACKAGES += "ecore-examples"
50
51 FILES_${PN} = "${libdir}/libecore*.so* ${libdir}/ecore_config_ipc_ecore.so"
52 FILES_${PN}-dev += "${bindir}/ecore-config ${libdir}/pkgconfig"
53 FILES_${PN}-examples = "${bindir}/ecore_test ${bindir}/ecore_evas_test ${datadir}"