Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Programmable Completion for Bash 4" |
Andrew Geissler | d1e8949 | 2021-02-12 15:35:20 -0600 | [diff] [blame] | 2 | DESCRIPTION = "bash completion extends bash's standard completion behavior to \ |
| 3 | achieve complex command lines with just a few keystrokes." |
Andrew Geissler | 6ce62a2 | 2020-11-30 19:58:47 -0600 | [diff] [blame] | 4 | HOMEPAGE = "https://github.com/scop/bash-completion" |
| 5 | BUGTRACKER = "https://github.com/scop/bash-completion/issues" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 6 | |
| 7 | LICENSE = "GPLv2" |
| 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
| 9 | |
| 10 | SECTION = "console/utils" |
| 11 | |
| 12 | SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz" |
| 13 | |
Andrew Geissler | 635e0e4 | 2020-08-21 15:58:33 -0500 | [diff] [blame] | 14 | SRC_URI[md5sum] = "2514c6772d0de6254758b98c53f91861" |
| 15 | SRC_URI[sha256sum] = "73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 16 | UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar" |
| 17 | UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases" |
| 18 | |
| 19 | PARALLEL_MAKE = "" |
| 20 | |
| 21 | inherit autotools |
| 22 | |
| 23 | do_install_append() { |
| 24 | # compatdir |
| 25 | install -d ${D}${sysconfdir}/bash_completion.d/ |
| 26 | echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion |
| 27 | |
| 28 | } |
| 29 | |
| 30 | RDEPENDS_${PN} = "bash" |
| 31 | |
| 32 | # Some recipes are providing ${PN}-bash-completion packages |
| 33 | PACKAGES =+ "${PN}-extra" |
| 34 | FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ |
| 35 | ${datadir}/${BPN}/helpers/" |
| 36 | |
| 37 | FILES_${PN}-dev += "${datadir}/cmake" |
| 38 | |
| 39 | BBCLASSEXTEND = "nativesdk" |