From 7ee162e3380a6fd3e7cfd69caeedd458a4acd1b3 Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Fri, 19 Aug 2005 21:51:52 +0000 Subject: efl++: create .inc file, split into a .bb for -x11 and a .bb for -fb --- packages/efl++/efl++-fb_0.0.2.bb | 3 +++ packages/efl++/efl++-x11_0.0.2.bb | 3 +++ packages/efl++/efl++.inc | 48 +++++++++++++++++++++++++++++++++++++++ packages/efl++/efl++_0.0.2.bb | 48 --------------------------------------- 4 files changed, 54 insertions(+), 48 deletions(-) create mode 100644 packages/efl++/efl++-fb_0.0.2.bb create mode 100644 packages/efl++/efl++-x11_0.0.2.bb create mode 100644 packages/efl++/efl++.inc delete mode 100644 packages/efl++/efl++_0.0.2.bb 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 " +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 <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}" diff --git a/packages/efl++/efl++_0.0.2.bb b/packages/efl++/efl++_0.0.2.bb deleted file mode 100644 index 5803f5db7a..0000000000 --- a/packages/efl++/efl++_0.0.2.bb +++ /dev/null @@ -1,48 +0,0 @@ -DESCRIPTION = "C++ Bindings for the Enlightenment Foundation Libraries" -SECTION = "e/libs" -LICENSE = "LGPL" -AUTHOR = "Michael 'Mickey' Lauer " -MAINTAINER = "${AUTHOR}" -HOMEPAGE = "http://www.Vanille.de/projects/efl++.html" -DEPENDS = "virtual/evas virtual/ecore edje" - -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}" -export OE_QMAKE_LINK="${CXX}" -export EDIR="${S}" - -do_configure_prepend() { - rm include.pro - cat <include.pro -include ( common.pro ) -DEFINES += DATADIR=\"${datadir}/efl++/\" -DEFINES += EFL_HAVE_X11 -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}" -- cgit v1.2.3