[oe-commits] Martin Jansa : azy: add new efl library for rpc

git version control git at git.openembedded.org
Mon Dec 20 13:47:06 UTC 2010


Module: openembedded.git
Branch: master
Commit: 5863be0ca67178aa2e0849849a646a12b9bfbc97
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5863be0ca67178aa2e0849849a646a12b9bfbc97

Author: Martin Jansa <Martin.Jansa at gmail.com>
Date:   Mon Dec 20 14:42:26 2010 +0100

azy: add new efl library for rpc

* will be used in elmdentica

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 recipes/efl1/azy_svn.bb |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/recipes/efl1/azy_svn.bb b/recipes/efl1/azy_svn.bb
new file mode 100644
index 0000000..343811f
--- /dev/null
+++ b/recipes/efl1/azy_svn.bb
@@ -0,0 +1,29 @@
+DESCRIPTION = "Azy is a library meant for implementing rpc clients and servers in a simple manner."
+DEPENDS = "pkgconfig zlib openssl eina gnutls ecore libxml2 re2c-native azy-native"
+DEPENDS_virtclass-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native"
+LICENSE = "LGPLv2.1+"
+PV = "1.0.0+svnr${SRCPV}"
+# current EFL_SRCREV doesn't support external re2c
+SRCREV = "55665"
+#SRCREV = "${EFL_SRCREV}"
+
+# to provide native lemon binary
+BBCLASSEXTEND = "native"
+
+do_configure_prepend() {
+  sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/lemon#g" ${S}/src/bin/Makefile.am
+  sed -i "s#\$(top_builddir)/src/bin/azy_parser -H -p -o#${STAGING_BINDIR_NATIVE}/azy_parser -H -p -o#g" ${S}/src/tests/Makefile.am
+  sed -i "s#\$(top_builddir)/src/bin/azy_parser -eHn -m#${STAGING_BINDIR_NATIVE}/azy_parser -eHn -m#g" ${S}/src/tests/identi.ca/Makefile.am
+}
+do_configure_virtclass-native() {
+  efl_do_configure
+}
+
+do_install_append_virtclass-native() {
+  install -d ${D}/${bindir}
+  install -m 0755 ${S}/src/bin/lemon ${D}/${bindir}
+}
+
+inherit efl
+
+SRC_URI = "svn://svn.enlightenment.org/svn/e/trunk/PROTO;module=azy;proto=http;scmdata=keep"





More information about the Openembedded-commits mailing list