diff options
| -rw-r--r-- | meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb new file mode 100644 index 0000000000..411b9b7e17 --- /dev/null +++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | DESCRIPTION = "Programmable Completion for Bash 4" | ||
| 2 | HOMEPAGE = "http://bash-completion.alioth.debian.org/" | ||
| 3 | BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/" | ||
| 4 | |||
| 5 | LICENSE = "GPLv2" | ||
| 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | ||
| 7 | |||
| 8 | SECTION = "console/utils" | ||
| 9 | |||
| 10 | SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2" | ||
| 11 | |||
| 12 | SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8" | ||
| 13 | SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804" | ||
| 14 | |||
| 15 | inherit allarch autotools | ||
| 16 | |||
| 17 | do_install_append() { | ||
| 18 | install -d ${D}${sysconfdir}/bash_completion.d/ | ||
| 19 | echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion | ||
| 20 | } | ||
| 21 | |||
| 22 | RDEPENDS_${PN} = "bash" | ||
| 23 | |||
| 24 | # Some recipes are providing ${PN}-bash-completion packages | ||
| 25 | PACKAGES =+ "${PN}-extra" | ||
| 26 | FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ | ||
| 27 | ${datadir}/${BPN}/helpers/" | ||
