summaryrefslogtreecommitdiff
path: root/recipes-support/multitech/libmts-io_1.0.35.bb
diff options
context:
space:
mode:
authorSerhii Voloshynov <serhii.voloshynov@globallogic.com>2023-06-06 11:54:26 +0300
committerSerhii Voloshynov <serhii.voloshynov@globallogic.com>2023-06-06 11:54:26 +0300
commitff436ac2e18c6650e8fefbe5d905a3ea4d391825 (patch)
tree1f2b998f7957abe12176b604f304ec0b0db93cab /recipes-support/multitech/libmts-io_1.0.35.bb
parentaf9ce3ab1722c0ba9f60a2a042cedf5ff5908949 (diff)
parentfaec7c38186ec22290d1cfc87e7a9b8406492f76 (diff)
downloadmeta-mlinux-ff436ac2e18c6650e8fefbe5d905a3ea4d391825.tar.gz
meta-mlinux-ff436ac2e18c6650e8fefbe5d905a3ea4d391825.tar.bz2
meta-mlinux-ff436ac2e18c6650e8fefbe5d905a3ea4d391825.zip
Merge remote-tracking branch 'origin/6' into mpower-6.3.0
Diffstat (limited to 'recipes-support/multitech/libmts-io_1.0.35.bb')
-rw-r--r--recipes-support/multitech/libmts-io_1.0.35.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-support/multitech/libmts-io_1.0.35.bb b/recipes-support/multitech/libmts-io_1.0.35.bb
new file mode 100644
index 0000000..a50f96e
--- /dev/null
+++ b/recipes-support/multitech/libmts-io_1.0.35.bb
@@ -0,0 +1,30 @@
+DESCRIPTION = "MultiTech IO C++ Library"
+HOMEPAGE = "http://www.multitech.net/"
+LICENSE = "LGPL-2.1"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=4fbd65380cdd255951079008b364516c"
+
+DEPENDS = "libmts jsoncpp cmake-native cppunit"
+BBCLASSEXTEND = "native"
+
+PR = "r0"
+SRCREV = "${PV}"
+SRC_URI = "git://git.multitech.net/cgit/libmts-io.git;branch=master;protocol=https"
+
+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}
+}
+