summaryrefslogtreecommitdiff
path: root/recipes-support/multitech/libmts_0.3.bb
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2015-04-30 17:01:28 -0500
committerJesse Gilles <jgilles@multitech.com>2015-04-30 17:01:28 -0500
commite98a76f48a683056be716c78fb342127cee0bc15 (patch)
treeb1db3eab7d511b5cddfa702950d5eb51e6d641dc /recipes-support/multitech/libmts_0.3.bb
parentfc50030ce81f0aea0dbfdc8325aa19f7d54877f8 (diff)
downloadmeta-mlinux-e98a76f48a683056be716c78fb342127cee0bc15.tar.gz
meta-mlinux-e98a76f48a683056be716c78fb342127cee0bc15.tar.bz2
meta-mlinux-e98a76f48a683056be716c78fb342127cee0bc15.zip
add recipes for MultiTech libmts, libmts-io, radio-cmd, radio-query, jsparser
Diffstat (limited to 'recipes-support/multitech/libmts_0.3.bb')
-rw-r--r--recipes-support/multitech/libmts_0.3.bb30
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes-support/multitech/libmts_0.3.bb b/recipes-support/multitech/libmts_0.3.bb
new file mode 100644
index 0000000..b599395
--- /dev/null
+++ b/recipes-support/multitech/libmts_0.3.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"
+
+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}
+}
+