diff options
author | David Karlstrom <daka@thg.se> | 2005-08-21 08:14:51 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2005-08-21 08:14:51 +0000 |
commit | 19235c78897e5219f04180412e5ab6fe2f22e30d (patch) | |
tree | 35d573f344dd1759ed374992f0b20a7b59563ae2 /packages/efl++ | |
parent | 87d3b1ad2dad434d9ab2124fb9c0ee997ecec246 (diff) | |
parent | a0097aa2e676041ec78482bbfe721d31dddca6aa (diff) |
merge of 7e5aec0634897d3c7afdf3aebe3c28008e54239b
and 8ba34c2a2418ae3ae68c35cd0c6a9b535ec1178b
Diffstat (limited to 'packages/efl++')
-rw-r--r-- | packages/efl++/efl++-fb_0.0.2.bb | 3 | ||||
-rw-r--r-- | packages/efl++/efl++-x11_0.0.2.bb | 3 | ||||
-rw-r--r-- | packages/efl++/efl++.inc | 48 |
3 files changed, 54 insertions, 0 deletions
diff --git a/packages/efl++/efl++-fb_0.0.2.bb b/packages/efl++/efl++-fb_0.0.2.bb new file mode 100644 index 0000000000..b6a23d832d --- /dev/null +++ b/packages/efl++/efl++-fb_0.0.2.bb @@ -0,0 +1,3 @@ +include efl++.inc + +EFL_CONFIGURATION = "DEFINES-=EFL_HAVE_X11" diff --git a/packages/efl++/efl++-x11_0.0.2.bb b/packages/efl++/efl++-x11_0.0.2.bb new file mode 100644 index 0000000000..d3f37911ee --- /dev/null +++ b/packages/efl++/efl++-x11_0.0.2.bb @@ -0,0 +1,3 @@ +include efl++.inc + +EFL_CONFIGURATION = "DEFINES+=EFL_HAVE_X11" diff --git a/packages/efl++/efl++.inc b/packages/efl++/efl++.inc new file mode 100644 index 0000000000..3a0aa9f691 --- /dev/null +++ b/packages/efl++/efl++.inc @@ -0,0 +1,48 @@ +DESCRIPTION = "C++ Bindings for the Enlightenment Foundation Libraries" +SECTION = "e/libs" +LICENSE = "LGPL" +AUTHOR = "Michael 'Mickey' Lauer <mickey@Vanille.de>" +MAINTAINER = "${AUTHOR}" +HOMEPAGE = "http://www.Vanille.de/projects/efl++.html" +DEPENDS = "virtual/evas virtual/ecore edje" +PROVIDES = "virtual/efl++" + +SRC_URI = "http://www.Vanille.de/temp/efl++_${PV}.tar.bz2" +S = "${WORKDIR}/efl++-${PV}" + +inherit qmake + +PARALLEL_MAKE = "" +QMAKE_PROFILES = "efl++.pro" +EXTRA_QMAKEVARS_POST = "INCLUDEPATH+=${S}/src/evas INCLUDEPATH+=${S}/src/ecore INCLUDEPATH+=${S}/src/edje \ + LIBS+=-L${S} DESTDIR=${S} ${EFL_CONFIGURATION}" +export OE_QMAKE_LINK="${CXX}" +export EDIR="${S}" + +do_configure_prepend() { + rm include.pro + cat <<EOF >include.pro +include ( common.pro ) +DEFINES += DATADIR=\"${datadir}/efl++/\" +EOF +} + +do_stage() { + for i in src/evas/*.h src/ecore/*.h src/edje/*.h + do + install -m 0644 $i ${STAGING_INCDIR} + done + oe_libinstall -so -C ${S} libefl++ ${STAGING_LIBDIR} +} + +do_install() { + oe_libinstall -so -C ${S} libefl++ ${D}${libdir} + install -d ${D}${bindir} + install edje-simple ${D}${bindir} + install -d ${D}${datadir}/efl++ + cp -a data/* ${D}${datadir}/efl++ +} + +PACKAGES =+ "efl++-examples" +FILES_${PN} = "${libdir}" +FILES_efl++-examples = "${bindir} ${datadir}" |