blob: fef79d9c9c6d55ae6acb9567da91b0c298cb6c53 [file] [log] [blame]
Patrick Williamsc0f7c042017-02-23 20:41:17 -06001require alsa-utils_${PV}.bb
2
3SUMMARY = "Shell scripts that show help info and create ALSA configuration files"
4PROVIDES = "alsa-utils-alsaconf"
5
6FILESEXTRAPATHS_prepend := "${THISDIR}/alsa-utils:"
7
8PACKAGES = "${PN}"
9RDEPENDS_${PN} += "bash"
10
11FILES_${PN} = "${sbindir}/alsaconf \
12 ${sbindir}/alsa-info.sh \
13 ${sbindir}/alsabat-test.sh \
14 "
15
16S = "${WORKDIR}/alsa-utils-${PV}"
17
18do_install() {
19 install -d ${D}${sbindir}
20 install -m 0755 ${B}/alsaconf/alsaconf ${D}${sbindir}/
21 install -m 0755 ${S}/alsa-info/alsa-info.sh ${D}${sbindir}/
22 if ${@bb.utils.contains('PACKAGECONFIG', 'bat', 'true', 'false', d)}; then
23 install -m 0755 ${S}/bat/alsabat-test.sh ${D}${sbindir}/
24 fi
25}