[oe-commits] Matthieu CRAPET : bash-completion: add recipe

git at git.openembedded.org git at git.openembedded.org
Thu Jan 2 07:46:27 UTC 2014


Module: meta-openembedded.git
Branch: master
Commit: 773f7f1a1cc292ff98d668da1a486c025d15faf5
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=773f7f1a1cc292ff98d668da1a486c025d15faf5

Author: Matthieu CRAPET <Matthieu.CRAPET at ingenico.com>
Date:   Mon Dec 16 11:31:37 2013 +0100

bash-completion: add recipe

This new recipe discards the old recipe in OE-Classic:
http://layers.openembedded.org/layerindex/oe-classic/recipe/16369/

When building ready-to-use images (like .vmdk), it is sometimes convenient to have a fancy shell environment.

Signed-off-by: Matthieu Crapet <Matthieu.Crapet at ingenico.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 .../bash-completion/bash-completion_2.0.bb         | 27 ++++++++++++++++++++++
 1 file changed, 27 insertions(+)

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 0000000..411b9b7
--- /dev/null
+++ b/meta-oe/recipes-support/bash-completion/bash-completion_2.0.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "Programmable Completion for Bash 4"
+HOMEPAGE = "http://bash-completion.alioth.debian.org/"
+BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
+
+SECTION = "console/utils"
+
+SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2"
+
+SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8"
+SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804"
+
+inherit allarch autotools
+
+do_install_append() {
+	install -d ${D}${sysconfdir}/bash_completion.d/
+	echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion
+}
+
+RDEPENDS_${PN} = "bash"
+
+# Some recipes are providing ${PN}-bash-completion packages
+PACKAGES =+ "${PN}-extra"
+FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \
+    ${datadir}/${BPN}/helpers/"



More information about the Openembedded-commits mailing list