1SUMMARY = "An Event Expression Library inspired by CEE" 2DESCRIPTION = "The core idea of libee is to provide a small \ 3but hopefully convenient API layer above the CEE standard." 4 5HOMEPAGE = "http://www.libee.org" 6SECTION = "base" 7 8LICENSE = "LGPL-2.1-or-later" 9LIC_FILES_CHKSUM = "file://COPYING;md5=1c2687de35e36ba3b999136236a66cd6" 10 11SRC_URI = "http://www.libee.org/download/files/download/${BPN}-${PV}.tar.gz\ 12 file://libee-parallel-make.patch \ 13 file://run-ptest \ 14 file://ezapi1.sh \ 15" 16 17inherit autotools ptest pkgconfig 18 19DEPENDS += "libestr" 20 21PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'testbench', '', d)}" 22 23PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,," 24PACKAGECONFIG[testbench] = "--enable-testbench,--disable-testbench,," 25 26TESTDIR = "tests" 27 28# We presume the tests we are going to install so just build them directly. 29# 30do_compile_ptest() { 31 oe_runmake -C ${TESTDIR} genfile ezapi1 32} 33 34do_install_ptest() { 35 install -d ${D}${PTEST_PATH} 36 install -m 0755 ${B}/${TESTDIR}/genfile ${D}${PTEST_PATH} 37 install -m 0755 ${B}/${TESTDIR}/.libs/ezapi1 ${D}${PTEST_PATH} 38 install -m 0755 ${WORKDIR}/ezapi1.sh ${D}${PTEST_PATH} 39} 40