32 lines
980 B
BlitzBasic
32 lines
980 B
BlitzBasic
SUMMARY = "CppUTest unit testing and mocking framework for C/C++"
|
|
HOMEPAGE = "https://cpputest.github.io"
|
|
LICENSE = "BSD"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=ce5d5f1fe02bcd1343ced64a06fd4177"
|
|
|
|
inherit autotools
|
|
|
|
SRC_URI = "git://github.com/cpputest/cpputest.git;protocol=https"
|
|
SRCREV = "bbe3801b990d281cf251cc6e6107256808ea6d19"
|
|
|
|
PV = "3.8+git${SRCPV}"
|
|
|
|
S = "${WORKDIR}/git"
|
|
|
|
# Moving everything to /usr/lib/cpputest, aka CPPUTEST_HOME
|
|
do_install_append() {
|
|
install -d ${D}${base_prefix}/usr/lib/cpputest/build
|
|
install -m 644 ${S}/build/MakefileWorker.mk ${D}${base_prefix}/usr/lib/cpputest/build
|
|
|
|
mv ${D}${base_prefix}/usr/include ${D}${base_prefix}/usr/lib/cpputest
|
|
|
|
install -d ${D}${base_prefix}/usr/lib/cpputest/lib
|
|
mv ${D}${base_prefix}/usr/lib/lib* ${D}${base_prefix}/usr/lib/cpputest/lib
|
|
}
|
|
|
|
FILES_${PN}-staticdev += " \
|
|
${base_prefix}/usr/lib/cpputest/build/ \
|
|
${base_prefix}/usr/lib/cpputest/build/* \
|
|
"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|