diff options
-rw-r--r-- | meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb (renamed from meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb) | 11 |
1 files changed, 5 insertions, 6 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.1.bb index 014d122cb..bafe32d4f 100644 --- a/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb +++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.1.bb | |||
@@ -5,26 +5,25 @@ BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/" | |||
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPLv2" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
7 | 7 | ||
8 | PR = "r1" | ||
9 | |||
10 | SECTION = "console/utils" | 8 | SECTION = "console/utils" |
11 | 9 | ||
12 | SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2" | 10 | SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2" |
13 | 11 | ||
14 | SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8" | 12 | SRC_URI[md5sum] = "4e2a9f11a4042a38ee79ddcd048e8b9e" |
15 | SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804" | 13 | SRC_URI[sha256sum] = "2b606804a7d5f823380a882e0f7b6c8a37b0e768e72c3d4107c51fbe8a46ae4f" |
16 | 14 | ||
17 | PARALLEL_MAKE = "" | 15 | PARALLEL_MAKE = "" |
18 | 16 | ||
19 | inherit allarch autotools | 17 | inherit autotools |
20 | 18 | ||
21 | do_install_append() { | 19 | do_install_append() { |
20 | # compatdir | ||
22 | install -d ${D}${sysconfdir}/bash_completion.d/ | 21 | install -d ${D}${sysconfdir}/bash_completion.d/ |
23 | echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion | 22 | echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion |
24 | 23 | ||
25 | # Delete files already provided by util-linux | 24 | # Delete files already provided by util-linux |
26 | local i | 25 | local i |
27 | for i in cal dmesg hwclock ionice look renice rtcwake; do | 26 | for i in cal dmesg eject hexdump hwclock ionice look renice rtcwake; do |
28 | rm ${D}${datadir}/${BPN}/completions/$i | 27 | rm ${D}${datadir}/${BPN}/completions/$i |
29 | done | 28 | done |
30 | } | 29 | } |