[oe] [PATCH v2 2/2] Indent: Add new recipe

Martin Jansa martin.jansa at gmail.com
Fri Nov 21 09:52:30 UTC 2014


On Fri, Nov 21, 2014 at 03:55:58PM +0800, Qian Lei wrote:
> Indent is a GNU program for beautifying C code, so that it is easier
> to read. Indent can also convert from one C writing style to a different
> one. Indent understands correct C syntax and tries to handle incorrect C
> syntax.
> 
> Signed-off-by: Qian Lei <qianl.fnst at cn.fujitsu.com>
> ---
>  meta-oe/recipes-extended/indent/indent_2.2.10.bb | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 meta-oe/recipes-extended/indent/indent_2.2.10.bb
> 
> diff --git a/meta-oe/recipes-extended/indent/indent_2.2.10.bb b/meta-oe/recipes-extended/indent/indent_2.2.10.bb
> new file mode 100644
> index 0000000..df40cc0
> --- /dev/null
> +++ b/meta-oe/recipes-extended/indent/indent_2.2.10.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "A GNU program for formatting C code"
> +HOMEPAGE = "http://www.gnu.org/software/indent/"
> +SECTION = "Applications/Text"
> +DESCRIPTION = "Indent is a GNU program for beautifying C code, so that \
> +it is easier to read. Indent can also convert from one C writing style \
> +to a different one. Indent understands correct C syntax and tries to handle \
> +incorrect C syntax. \
> +Install the indent package if you are developing applications in C and \
> +you want a program to format your code."
> +LICENSE = "GPL-2.0"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
> +DEPENDS = "virtual/gettext"
> +
> +SRC_URI = "${GNU_MIRROR}/indent/${BP}.tar.gz"

indent -> BPN

> +SRC_URI[md5sum] = "be35ea62705733859fbf8caf816d8959"
> +SRC_URI[sha256sum] = "8a9b41be5bfcab5d8c1be74204b10ae78789fc3deabea0775fdced8677292639"
> +
> +inherit autotools gettext
> +
> +FILES_${PN} += "/usr/doc/indent/indent.html"

shouldn't this be installed in /usr/share/doc ($docdir)?

and should it be included in $PN or $PN-doc?

Also move this change before umip which is using it.

> +
> +BBCLASSEXTEND = "native"
> -- 
> 1.8.3.1
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20141121/c15db6cd/attachment-0002.sig>


More information about the Openembedded-devel mailing list