summaryrefslogtreecommitdiff
path: root/recipes-support/multitech/libmts_0.9.bb
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2021-09-09 09:13:01 -0500
committerJohn Klug <john.klug@multitech.com>2021-12-29 07:01:58 -0600
commit0a2ed6656cc7affeeb005f66eba10120f0d1a9f5 (patch)
tree3fc9fea3643eced66e79d923a7e193c74b54d173 /recipes-support/multitech/libmts_0.9.bb
parent8f9dbe15db58a9f03c0aa72acf586adcb8a1bb64 (diff)
downloadmeta-mlinux-0a2ed6656cc7affeeb005f66eba10120f0d1a9f5.tar.gz
meta-mlinux-0a2ed6656cc7affeeb005f66eba10120f0d1a9f5.tar.bz2
meta-mlinux-0a2ed6656cc7affeeb005f66eba10120f0d1a9f5.zip
ue-mode-of-operation feature
Diffstat (limited to 'recipes-support/multitech/libmts_0.9.bb')
-rw-r--r--recipes-support/multitech/libmts_0.9.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-support/multitech/libmts_0.9.bb b/recipes-support/multitech/libmts_0.9.bb
new file mode 100644
index 0000000..a5deb4b
--- /dev/null
+++ b/recipes-support/multitech/libmts_0.9.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}
+}
+