summaryrefslogtreecommitdiff
path: root/recipes-support/multitech/libmts_0.3.bb
blob: b5993950e2444294921a42ca392117db0dcdeec2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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}
}