summaryrefslogtreecommitdiffstats
path: root/package/bash-completion
diff options
context:
space:
mode:
authorJeremy Rosen <jeremy.rosen@smile.fr>2018-04-24 11:28:22 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-28 18:02:42 +0200
commit989470cf14a34f9f7a071a9be1e55425fd242915 (patch)
tree9e381d7a1529e75665323817895cd3a092b52833 /package/bash-completion
parentcf9b5522d1f8488b1c7e74822eff9f3ac69d8821 (diff)
downloadbuildroot-989470cf14a34f9f7a071a9be1e55425fd242915.tar.gz
buildroot-989470cf14a34f9f7a071a9be1e55425fd242915.zip
package/bash-completion: new package
Signed-off-by: Jeremy Rosen <jeremy.rosen@smile.fr> Signed-off-by: Romain Naour <romain.naour@smile.fr> [Thomas: transfer the explanation from the commit log into the Config.in help text, after rewording it.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/bash-completion')
-rw-r--r--package/bash-completion/Config.in15
-rw-r--r--package/bash-completion/bash-completion.hash3
-rw-r--r--package/bash-completion/bash-completion.mk16
3 files changed, 34 insertions, 0 deletions
diff --git a/package/bash-completion/Config.in b/package/bash-completion/Config.in
new file mode 100644
index 0000000000..c907c04a54
--- /dev/null
+++ b/package/bash-completion/Config.in
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_BASH_COMPLETION
+ bool "bash completion"
+ depends on BR2_PACKAGE_BASH
+ help
+ Add bash completion infrastructure.
+
+ The bash completion infrastructure is enabled by
+ /etc/profile.d/bash_completion.sh, which is normally
+ sourced by /etc/profile.
+
+ If the system does not use the /etc/profile.d directory
+ mechanism, the /etc/profile.d/bash_completion.sh script can
+ be sourced from /etc/bashrc or ~/.bashrc.
+
+ https://github.com/scop/bash-completion
diff --git a/package/bash-completion/bash-completion.hash b/package/bash-completion/bash-completion.hash
new file mode 100644
index 0000000000..2c4cf67578
--- /dev/null
+++ b/package/bash-completion/bash-completion.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 c01f5570f5698a0dda8dc9cfb2a83744daa1ec54758373a6e349bd903375f54d bash-completion-2.8.tar.xz
+sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING
diff --git a/package/bash-completion/bash-completion.mk b/package/bash-completion/bash-completion.mk
new file mode 100644
index 0000000000..9976918648
--- /dev/null
+++ b/package/bash-completion/bash-completion.mk
@@ -0,0 +1,16 @@
+################################################################################
+#
+# bash-completion
+#
+################################################################################
+
+BASH_COMPLETION_VERSION = 2.8
+BASH_COMPLETION_SITE = https://github.com/scop/bash-completion/releases/download/$(BASH_COMPLETION_VERSION)
+BASH_COMPLETION_SOURCE = bash-completion-$(BASH_COMPLETION_VERSION).tar.xz
+BASH_COMPLETION_LICENSE = GPL-2.0
+BASH_COMPLETION_LICENSE_FILES = COPYING
+
+# Install bash-completion.pc file
+BASH_COMPLETION_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
OpenPOWER on IntegriCloud