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