blob: 40765359028268951524f8cd7ac3598eb9e0205a [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Programmable Completion for Bash 4"
Andrew Geissler90fd73c2021-03-05 15:25:55 -06002DESCRIPTION = "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
Andrew Geissler6ce62a22020-11-30 19:58:47 -06007HOMEPAGE = "https://github.com/scop/bash-completion"
8BUGTRACKER = "https://github.com/scop/bash-completion/issues"
Andrew Geissler82c905d2020-04-13 13:39:40 -05009
10LICENSE = "GPLv2"
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
Andrew Geissler635e0e42020-08-21 15:58:33 -050017SRC_URI[md5sum] = "2514c6772d0de6254758b98c53f91861"
18SRC_URI[sha256sum] = "73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac"
Andrew Geissler82c905d2020-04-13 13:39:40 -050019UPSTREAM_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
40FILES_${PN}-dev += "${datadir}/cmake"
41
42BBCLASSEXTEND = "nativesdk"