1SUMMARY = "C++ framework for implementing distributed and networked applications"
2DESCRIPTION = "C++ network programming framework that implements many core \
3patterns for concurrent communication software"
4LICENSE = "ACE-TAO-CIAO"
5HOMEPAGE = "http://www.dre.vanderbilt.edu/~schmidt/ACE.html"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d2c090e9c730fd91677782d8e2091d77"
7
8DEPENDS += "openssl gperf-native"
9
10SRC_URI = "https://github.com/DOCGroup/ACE_TAO/releases/download/ACE%2BTAO-6_5_19/ACE-${PV}.tar.bz2 \
11           file://ace_config.patch \
12           file://no_sysctl.patch \
13          "
14SRC_URI[sha256sum] = "739be290a38229aaa5b5150e6ea55ce427e80970f0ace4c5040ac46644526f41"
15
16COMPATIBLE_HOST:libc-musl = "null"
17
18S = "${WORKDIR}/ACE_wrappers"
19B = "${WORKDIR}/ACE_wrappers/ace"
20export ACE_ROOT="${WORKDIR}/ACE_wrappers"
21
22inherit pkgconfig
23
24CXXFLAGS:append = " -fpermissive -Wnodeprecated-declarations"
25CXX:append = " -std=gnu++14 -ffile-prefix-map=${WORKDIR}= -fdebug-prefix-map=${WORKDIR}= "
26EXTRA_OEMAKE += "INSTALL_LIB=${baselib}"
27
28do_install() {
29    export D="${D}"
30    oe_runmake install
31
32    for i in $(find ${D} -name "*.pc") ; do
33        sed -i -e s:${D}::g \
34               -e s:/${TARGET_SYS}::g \
35                  $i
36    done
37
38    rm -r ${D}/usr/share
39}
40
41UPSTREAM_CHECK_URI = "https://github.com/DOCGroup/ACE_TAO/releases"
42