commit: a3cb0d2c4371626c2b27dc89b1e59e5d2c15ad3e Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Wed Mar 22 03:33:58 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Mar 22 03:33:58 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3cb0d2c
dev-util/indent: add 2.2.13 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/indent/Manifest | 1 + dev-util/indent/indent-2.2.13.ebuild | 42 ++++++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-util/indent/Manifest b/dev-util/indent/Manifest index f80f2d3f318e..cbc063493398 100644 --- a/dev-util/indent/Manifest +++ b/dev-util/indent/Manifest @@ -1 +1,2 @@ DIST indent-2.2.12.tar.xz 620280 BLAKE2B c3414ebe58d75b74356b5c37234639dc34998b73e45a4c28ee20ab2932c523b528d577c45c32db88f2ee4aed58d1dceeda2fe68b8975d211dc0dad4a3a20f7c7 SHA512 dbe73bd3729074825f9f5b4241a4c539ad32069df56511963417caf0351ff9ec5edd77e9580338301c8abf89ab9c0592bc7e82c14eec7450c496259d7e9045dd +DIST indent-2.2.13.tar.xz 475360 BLAKE2B 6aad65e966f91c9776d0b3d32f185a6c7b45eabca847c806c1fff935562f6c4512f472ec814dc54d3fc40498f513baee99b5bcfc2ea25fd67fd24b0cd0f9fe1a SHA512 a92028f99cc64b451aac99802de564f2e915e7f0e258df761141f77595c07cc95c3f2c35917618dbc2cfa3aa5b163544e07aa6641c32298aca3a1c5331bb8c69 diff --git a/dev-util/indent/indent-2.2.13.ebuild b/dev-util/indent/indent-2.2.13.ebuild new file mode 100644 index 000000000000..1a5bd3be15c1 --- /dev/null +++ b/dev-util/indent/indent-2.2.13.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools strip-linguas + +DESCRIPTION="Indent program source files" +HOMEPAGE="https://www.gnu.org/software/indent/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris" +IUSE="nls" + +BDEPEND=" + app-text/texi2html + nls? ( sys-devel/gettext ) +" +DEPEND="nls? ( virtual/libintl )" +RDEPEND="${DEPEND}" + +src_prepare() { + default + + sed -i -e '/AM_CFLAGS/s:-Werror::g' src/Makefile.{am,in} || die + eautoreconf +} + +src_configure() { + strip-linguas -i po/ + + export gl_cv_cc_vis_werror=no + export ac_cv_func_setlocale=$(usex nls) + + econf $(use_enable nls) +} + +src_test() { + emake -C regression +}
