Andrew Geissler | 4ed12e1 | 2020-06-05 18:00:41 -0500 | [diff] [blame] | 1 | require alsa-utils.inc |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 2 | |
| 3 | SUMMARY = "Shell scripts that show help info and create ALSA configuration files" |
| 4 | PROVIDES = "alsa-utils-alsaconf" |
| 5 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 6 | FILESEXTRAPATHS:prepend := "${THISDIR}/alsa-utils:" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 7 | |
| 8 | PACKAGES = "${PN}" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 9 | RDEPENDS:${PN} += "bash" |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 10 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 11 | FILES:${PN} = "${sbindir}/alsaconf \ |
Patrick Williams | c0f7c04 | 2017-02-23 20:41:17 -0600 | [diff] [blame] | 12 | ${sbindir}/alsa-info.sh \ |
| 13 | ${sbindir}/alsabat-test.sh \ |
| 14 | " |
| 15 | |
| 16 | S = "${WORKDIR}/alsa-utils-${PV}" |
| 17 | |
| 18 | do_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 | } |