summaryrefslogtreecommitdiff
path: root/recipes/rtaudio/rtaudio-tests_3.0.1.bb
blob: 66efd0311976c47bc0ad196cfadca1e54b99e743 (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
require librtaudio_${PV}.bb

inherit autotools

EXTRA_OECONF = "--with-alsa --with-oss"
EXTRA_OEMAKE = "-e"
export CC = "${CXX}"
CFLAGS += "-I${S}"
export LIBRARY = "-lasound -lpthread ${LDFLAGS}"

do_compile() {
	oe_runmake -C tests
}

do_stage() {
	:
}

do_install() {
	install -d ${D}${bindir}
	for binary in `find tests -perm 0755 -type f`
	do
		install -m 0755 $binary ${D}${bindir}
        done
}


SRC_URI[md5sum] = "5b60500bc9605d2409b71124e48aa929"
SRC_URI[sha256sum] = "59cc003bab753335b3ce14a908e663ea782514b3531dc7030379ff753ef1a78c"