diff options
author | John Klug <john.klug@multitech.com> | 2020-12-07 15:48:11 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2020-12-07 15:48:11 -0600 |
commit | 7422062e618b0f39b5cb4e70e5c8a32b9a31408f (patch) | |
tree | 2fc9e3204efaebf3493d58047f7c37a1f4ec1317 /recipes-support/multitech/libmts_0.8.bb | |
parent | 2bf361d97cc5a9fbc33a8915a6be1b64271a2d15 (diff) | |
download | meta-mlinux-7422062e618b0f39b5cb4e70e5c8a32b9a31408f.tar.gz meta-mlinux-7422062e618b0f39b5cb4e70e5c8a32b9a31408f.tar.bz2 meta-mlinux-7422062e618b0f39b5cb4e70e5c8a32b9a31408f.zip |
Diffstat (limited to 'recipes-support/multitech/libmts_0.8.bb')
-rw-r--r-- | recipes-support/multitech/libmts_0.8.bb | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-support/multitech/libmts_0.8.bb b/recipes-support/multitech/libmts_0.8.bb new file mode 100644 index 0000000..a5deb4b --- /dev/null +++ b/recipes-support/multitech/libmts_0.8.bb @@ -0,0 +1,30 @@ +DESCRIPTION = "MultiTech Core C++ Library" +HOMEPAGE = "http://www.multitech.net/" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c" + +DEPENDS = "cmake-native cppunit" +BBCLASSEXTEND = "native nativesdk" + +PR = "r1" +SRCREV = "${PV}" +SRC_URI = "git://git.multitech.net/libmts;branch=master" + +S = "${WORKDIR}/git" + +do_compile() { + oe_runmake +} + +# build and run tests for native recipe +do_compile_append_virtclass-native() { + cd test + cmake . + oe_runmake + ./TestRunnerClient +} + +do_install() { + oe_runmake install DESTDIR=${D} +} + |