summaryrefslogtreecommitdiff
path: root/packages/rtaudio/rtaudio-tests_3.0.1.bb
blob: 53752b73c08f99effc9238fbb88539a75ddf15be (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
include 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
}