summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-test/cxxtest/cxxtest_4.4.bb
blob: ef1b6e537ba6f11e49ef77effd554970de8260b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
DESCRIPTION = "CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit, CppUnit, and xUnit."
HOMEPAGE = "http://cxxtest.com/"
SECTION = "devel"
LICENSE = "LGPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"

SRC_URI = "http://downloads.sourceforge.net/project/cxxtest/cxxtest/${PV}/${BP}.tar.gz"
SRC_URI[md5sum] = "c3cc3355e2ac64e34c215f28e44cfcec"
SRC_URI[sha256sum] = "1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8"

inherit setuptools3

PIP_INSTALL_DIST_PATH = "${B}/python/python3/dist"

SETUPTOOLS_SETUP_PATH = "${S}/python"

do_install:append() {
    install -d ${D}${includedir}
    cp -a ${S}/cxxtest/ ${D}${includedir}
    # Fix the interpretter as otherwise this points to the build host python
    sed '1c\
#!/usr/bin/env python3' -i ${D}${bindir}/cxxtestgen
}

BBCLASSEXTEND = "native nativesdk"