Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "An Event Expression Library inspired by CEE" |
| 2 | DESCRIPTION = "The core idea of libee is to provide a small \ |
| 3 | but hopefully convenient API layer above the CEE standard." |
| 4 | |
| 5 | HOMEPAGE = "http://www.libee.org" |
| 6 | SECTION = "base" |
| 7 | |
| 8 | LICENSE = "LGPL-2.1+" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=1c2687de35e36ba3b999136236a66cd6" |
| 10 | |
| 11 | SRC_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 | |
| 17 | inherit autotools ptest pkgconfig |
| 18 | |
| 19 | DEPENDS += "libestr" |
| 20 | |
| 21 | PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'testbench', '', d)}" |
| 22 | |
| 23 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug,," |
| 24 | PACKAGECONFIG[testbench] = "--enable-testbench,--disable-testbench,," |
| 25 | |
| 26 | TESTDIR = "tests" |
| 27 | |
| 28 | # We presume the tests we are going to install so just build them directly. |
| 29 | # |
| 30 | do_compile_ptest() { |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 31 | oe_runmake -C ${TESTDIR} genfile ezapi1 |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 32 | } |
| 33 | |
| 34 | do_install_ptest() { |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 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} |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 39 | } |