Add a bash-completion recipe. Largely based on the one from oe-dev repo.
Changes:
1) Version bump to most recent bash-completion upstream tarball
2) Dropped custom profile.d script in favour of upstream one.

Signed-off-by: Dmitry Eremin-Solenikov <[email protected]>
---
 .../bash-completion/bash-completion_20060301.bb    |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 
meta/recipes-extended/bash-completion/bash-completion_20060301.bb

diff --git a/meta/recipes-extended/bash-completion/bash-completion_20060301.bb 
b/meta/recipes-extended/bash-completion/bash-completion_20060301.bb
new file mode 100644
index 0000000..9e8ede2
--- /dev/null
+++ b/meta/recipes-extended/bash-completion/bash-completion_20060301.bb
@@ -0,0 +1,28 @@
+DESCRIPTION = "Programmable Completion for Bash"
+SECTION = "console/utils"
+RDEPENDS_${PN} = "bash"
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
+PR = "r0"
+
+SRC_URI = "http://www.caliban.org/files/bash/bash-completion-${PV}.tar.gz";
+S = "${WORKDIR}/bash_completion"
+
+do_configure() {
+       :
+}
+
+do_compile() {
+       :
+}
+
+do_install() {
+       install -d ${D}${sysconfdir}/profile.d
+       install -m 0755 bash_completion.sh ${D}${sysconfdir}/profile.d
+       install -m 0755 bash_completion ${D}${sysconfdir}
+       install -d ${D}${sysconfdir}/bash_completion.d/
+       install -m 0755 contrib/* ${D}${sysconfdir}/bash_completion.d/
+}
+
+SRC_URI[md5sum] = "9bca1cf97e8f8c73e3ef560cc9dead21"
+SRC_URI[sha256sum] = 
"29b78834b975b29810f0bf1f15e5d3a6c003a137cfac7fea671bfaf8f58f5c0d"
-- 
1.7.2.5


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to