Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "Azy is a library meant for implementing rpc clients and servers in a simple manner." |
| 2 | DEPENDS = "pkgconfig zlib openssl eina gnutls ecore libxml2 re2c-native mysql5 azy-native glib-2.0" |
| 3 | DEPENDS_class-native = "pkgconfig-native zlib-native openssl-native eina-native gnutls-native ecore-native libxml2-native re2c-native mysql5-native glib-2.0-native" |
| 4 | LICENSE = "LGPLv2.1+" |
| 5 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
| 6 | |
| 7 | PV = "1.0.0+svnr${SRCPV}" |
| 8 | PR = "r2" |
| 9 | |
| 10 | SRCREV = "${EFL_SRCREV}" |
| 11 | |
| 12 | # to provide native lemon binary |
| 13 | BBCLASSEXTEND = "native" |
| 14 | |
| 15 | EXTRA_OECONF += " --disable-mysql-tests" |
| 16 | |
| 17 | do_configure_prepend_class-target() { |
| 18 | sed -i "s#\./lemon#${STAGING_BINDIR_NATIVE}/azy_lemon#g" ${S}/src/bin/Makefile.am |
| 19 | 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 |
| 20 | 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 |
| 21 | } |
| 22 | |
| 23 | do_install_append_class-native() { |
| 24 | install -d ${D}/${bindir} |
| 25 | install -m 0755 ${B}/src/bin/lemon ${D}/${bindir}/azy_lemon |
| 26 | } |
| 27 | |
| 28 | inherit efl |
| 29 | |
| 30 | SRC_URI = "${E_SVN}/trunk/PROTO;module=${SRCNAME};protocol=http;scmdata=keep" |
| 31 | S = "${WORKDIR}/${SRCNAME}" |
| 32 | |
| 33 | # azy/2_1.0.0+svnr82070-r2/azy/src/lib/extras/pugixml.cpp:33: |
| 34 | # sysroots/qemuarm/usr/include/c++/5.2.0/bits/basic_string.h:4780:5: error: reference to 'basic_string' is ambiguous |
| 35 | # basic_string<_CharT, _Traits, _Alloc> |
| 36 | # ^ |
| 37 | PNBLACKLIST[azy] ?= "OLD and doesn't build with gcc-5" |