xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-test/cxxtest/cxxtest_4.4.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunDESCRIPTION = "CxxTest is a unit testing framework for C++ that is similar in spirit to JUnit, CppUnit, and xUnit."
2*4882a593SmuzhiyunHOMEPAGE = "http://cxxtest.com/"
3*4882a593SmuzhiyunSECTION = "devel"
4*4882a593SmuzhiyunLICENSE = "LGPL-2.0-only"
5*4882a593SmuzhiyunLIC_FILES_CHKSUM = "file://COPYING;md5=e6a600fd5e1d9cbde2d983680233ad02"
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunSRC_URI = "http://downloads.sourceforge.net/project/cxxtest/cxxtest/${PV}/${BP}.tar.gz"
8*4882a593SmuzhiyunSRC_URI[md5sum] = "c3cc3355e2ac64e34c215f28e44cfcec"
9*4882a593SmuzhiyunSRC_URI[sha256sum] = "1c154fef91c65dbf1cd4519af7ade70a61d85a923b6e0c0b007dc7f4895cf7d8"
10*4882a593Smuzhiyun
11*4882a593Smuzhiyuninherit setuptools3
12*4882a593Smuzhiyun
13*4882a593SmuzhiyunPIP_INSTALL_DIST_PATH = "${B}/python/python3/dist"
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunSETUPTOOLS_SETUP_PATH = "${S}/python"
16*4882a593Smuzhiyun
17*4882a593Smuzhiyundo_install:append() {
18*4882a593Smuzhiyun    install -d ${D}${includedir}
19*4882a593Smuzhiyun    cp -a ${S}/cxxtest/ ${D}${includedir}
20*4882a593Smuzhiyun    # Fix the interpretter as otherwise this points to the build host python
21*4882a593Smuzhiyun    sed '1c\
22*4882a593Smuzhiyun#!/usr/bin/env python3' -i ${D}${bindir}/cxxtestgen
23*4882a593Smuzhiyun}
24*4882a593Smuzhiyun
25*4882a593SmuzhiyunBBCLASSEXTEND = "native nativesdk"
26