diff options
Diffstat (limited to 'meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb')
-rw-r--r-- | meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb b/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb new file mode 100644 index 000000000..bafe32d4f --- /dev/null +++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb | |||
@@ -0,0 +1,36 @@ | |||
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] = "4e2a9f11a4042a38ee79ddcd048e8b9e" | ||
13 | SRC_URI[sha256sum] = "2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f" | ||
14 | |||
15 | PARALLEL_MAKE = "" | ||
16 | |||
17 | inherit autotools | ||
18 | |||
19 | do_install_append() { | ||
20 | # compatdir | ||
21 | install -d ${D}${sysconfdir}/bash_completion.d/ | ||
22 | echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion | ||
23 | |||
24 | # Delete files already provided by util-linux | ||
25 | local i | ||
26 | for i in cal dmesg eject hexdump hwclock ionice look renice rtcwake; do | ||
27 | rm ${D}${datadir}/${BPN}/completions/$i | ||
28 | done | ||
29 | } | ||
30 | |||
31 | RDEPENDS_${PN} = "bash" | ||
32 | |||
33 | # Some recipes are providing ${PN}-bash-completion packages | ||
34 | PACKAGES =+ "${PN}-extra" | ||
35 | FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \ | ||
36 | ${datadir}/${BPN}/helpers/" | ||