blob: 000e984a7dac5be7a17985aef950c3237e6f909b [file] [log] [blame]
Andrew Geissler4ed12e12020-06-05 18:00:41 -05001require alsa-utils.inc
Patrick Williamsc0f7c042017-02-23 20:41:17 -06002
3SUMMARY = "Shell scripts that show help info and create ALSA configuration files"
4PROVIDES = "alsa-utils-alsaconf"
5
Patrick Williams213cb262021-08-07 19:21:33 -05006FILESEXTRAPATHS:prepend := "${THISDIR}/alsa-utils:"
Patrick Williamsc0f7c042017-02-23 20:41:17 -06007
8PACKAGES = "${PN}"
Patrick Williams213cb262021-08-07 19:21:33 -05009RDEPENDS:${PN} += "bash"
Patrick Williamsc0f7c042017-02-23 20:41:17 -060010
Patrick Williams213cb262021-08-07 19:21:33 -050011FILES:${PN} = "${sbindir}/alsaconf \
Patrick Williamsc0f7c042017-02-23 20:41:17 -060012 ${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}