1SUMMARY = "Programmable Completion for Bash 4" 2DESCRIPTION = "Collection of command line command completions for the Bash shell, \ 3collection of helper functions to assist in creating new completions, \ 4and set of facilities for loading completions automatically on demand, as well \ 5as installing them." 6 7HOMEPAGE = "https://github.com/scop/bash-completion" 8BUGTRACKER = "https://github.com/scop/bash-completion/issues" 9 10LICENSE = "GPL-2.0-only" 11LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" 12 13SECTION = "console/utils" 14 15SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz" 16 17SRC_URI[md5sum] = "2514c6772d0de6254758b98c53f91861" 18SRC_URI[sha256sum] = "73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac" 19UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar" 20UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases" 21 22PARALLEL_MAKE = "" 23 24inherit autotools 25 26do_install:append() { 27 # compatdir 28 install -d ${D}${sysconfdir}/bash_completion.d/ 29 echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion 30 31} 32 33RDEPENDS:${PN} = "bash" 34 35# Some recipes are providing ${PN}-bash-completion packages 36PACKAGES =+ "${PN}-extra" 37FILES:${PN}-extra = "${datadir}/${BPN}/completions/ \ 38 ${datadir}/${BPN}/helpers/" 39 40BBCLASSEXTEND = "nativesdk" 41