blob: da0baa7afc641d9f67aaf805f24eedc0764bff86 [file] [log] [blame]
Andrew Geissler82c905d2020-04-13 13:39:40 -05001SUMMARY = "Programmable Completion for Bash 4"
2HOMEPAGE = "http://bash-completion.alioth.debian.org/"
3BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/"
4
5LICENSE = "GPLv2"
6LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
7
8SECTION = "console/utils"
9
10SRC_URI = "https://github.com/scop/bash-completion/releases/download/${PV}/${BPN}-${PV}.tar.xz"
11
Andrew Geissler635e0e42020-08-21 15:58:33 -050012SRC_URI[md5sum] = "2514c6772d0de6254758b98c53f91861"
13SRC_URI[sha256sum] = "73a8894bad94dee83ab468fa09f628daffd567e8bef1a24277f1e9a0daf911ac"
Andrew Geissler82c905d2020-04-13 13:39:40 -050014UPSTREAM_CHECK_REGEX = "bash-completion-(?P<pver>(?!2008).+)\.tar"
15UPSTREAM_CHECK_URI = "https://github.com/scop/bash-completion/releases"
16
17PARALLEL_MAKE = ""
18
19inherit autotools
20
21do_install_append() {
22 # compatdir
23 install -d ${D}${sysconfdir}/bash_completion.d/
24 echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion
25
26}
27
28RDEPENDS_${PN} = "bash"
29
30# Some recipes are providing ${PN}-bash-completion packages
31PACKAGES =+ "${PN}-extra"
32FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \
33 ${datadir}/${BPN}/helpers/"
34
35FILES_${PN}-dev += "${datadir}/cmake"
36
37BBCLASSEXTEND = "nativesdk"