summaryrefslogtreecommitdiff
path: root/recipes/rtaudio/rtaudio-tests_3.0.1.bb
blob: 991f55d5748bfc3c83b44f59d5956854c848c064 (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
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
}