xref: /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/indent/indent_2.2.12.bb (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1SUMMARY = "A GNU program for formatting C code"
2HOMEPAGE = "http://www.gnu.org/software/indent/"
3SECTION = "Applications/Text"
4DESCRIPTION = "Indent is a GNU program for beautifying C code, so that \
5it is easier to read. Indent can also convert from one C writing style \
6to a different one. Indent understands correct C syntax and tries to handle \
7incorrect C syntax. \
8Install the indent package if you are developing applications in C and \
9you want a program to format your code."
10LICENSE = "GPL-3.0-only"
11LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
12
13DEPENDS = "virtual/gettext"
14
15SRC_URI = "${GNU_MIRROR}/${BPN}/${BP}.tar.gz \
16           file://0001-src-indent.c-correct-the-check-for-locale.h.patch \
17           file://0001-Makefile.am-remove-regression-dir.patch \
18           file://0001-Fix-builds-with-recent-gettext.patch \
19           file://0001-Remove-dead-paren_level-code.patch \
20           "
21SRC_URI[md5sum] = "4764b6ac98f6654a35da117b8e5e8e14"
22SRC_URI[sha256sum] = "e77d68c0211515459b8812118d606812e300097cfac0b4e9fb3472664263bb8b"
23
24inherit autotools gettext texinfo
25
26CFLAGS:append:class-native = " -Wno-error=unused-value"
27
28BBCLASSEXTEND = "native"
29