[OE-core] [PATCH] bash-completion: add recipe

Saul Wold sgw at linux.intel.com
Fri Dec 13 16:27:41 UTC 2013


Needs more comment as to why we need this along with a Signed-off-by: 
tag.  Can you include where you brought this in from.



On 12/13/2013 07:01 AM, Matthieu Crapet wrote:
> ---
>   .../bash-completion/bash-completion_2.0.bb         | 31 ++++++++++++++++++++++
>   1 file changed, 31 insertions(+)
>   create mode 100644 meta/recipes-support/bash-completion/bash-completion_2.0.bb
>
> diff --git a/meta/recipes-support/bash-completion/bash-completion_2.0.bb b/meta/recipes-support/bash-completion/bash-completion_2.0.bb
> new file mode 100644
> index 0000000..f08988a
> --- /dev/null
> +++ b/meta/recipes-support/bash-completion/bash-completion_2.0.bb
> @@ -0,0 +1,31 @@
> +DESCRIPTION = "Programmable Completion for Bash 4"
> +HOMEPAGE = "http://bash-completion.alioth.debian.org/"
> +BUGTRACKER = "https://alioth.debian.org/projects/bash-completion/"
> +
> +SECTION = "console/utils"
> +RDEPENDS_${PN} = "bash"
> +PR = "r1"
> +
Did you bump PR here or is it coming over with a PR already = "r1"  If 
this is truly a new recipe, then we can drop the PR, but we might need a 
PE since the classic recipe had a PV of 20040711 which is greater than 
this new PV of 2.0.

> +SRC_URI="http://bash-completion.alioth.debian.org/files/${BPN}-${PV}.tar.bz2"
> +
> +SRC_URI[md5sum] = "0d903f398be8c8f24bc5ffa6f86127f8"
> +SRC_URI[sha256sum] = "e5a490a4301dfb228361bdca2ffca597958e47dd6056005ef9393a5852af5804"
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
> +
These belong above after Section

> +inherit allarch autotools
> +
> +do_configure() {
> +	oe_runconf
> +}
> +
> +do_install_append() {
> +	install -d ${D}${sysconfdir}/bash_completion.d/
> +	echo '. ${datadir}/${BPN}/bash_completion' >${D}${sysconfdir}/bash_completion
> +}
> +
> +# Some recipes are providing ${PN}-bash-completion packages
> +PACKAGES_prepend += "${PN}-extra "
> +FILES_${PN}-extra = "${datadir}/${BPN}/completions/ \
> +    ${datadir}/${BPN}/helpers/"
>



More information about the Openembedded-core mailing list