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 <[email protected]> > --- > 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
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
--
Martin 'JaMa' Jansa jabber: [email protected]
signature.asc
Description: Digital signature
-- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
