dev-util/indent - 2.2.13-r1 (gentoo)

Search

Install

Install this version:

emerge -a =dev-util/indent-2.2.13-r1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =dev-util/indent-2.2.13-r1

Or alternatively:

emerge --autounmask-write -a =dev-util/indent-2.2.13-r1

Package Information

Description:
Indent program source files
Homepage:
https://www.gnu.org/software/indent/
License:
GPL-3

Ebuild Details

Version EAPI Keywords Slot
2.2.13-r1 8 ~alpha amd64 arm ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86 0
View Raw Ebuild
# Copyright 1999-2026 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 ~arm64 ~hppa ~mips ppc ppc64 ~s390 ~sparc x86"
IUSE="nls"

BDEPEND="
	sys-apps/texinfo
	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)
}

USE Flags

Manage flags for this package: euse -i <flag> -p dev-util/indent | euse -E <flag> -p dev-util/indent | euse -D <flag> -p dev-util/indent

Global/Standard Flags

nls

Inherited Eclasses

Applicable Mirrors

Mirror Name URLs
gnu

Dependencies

DEPEND

nls? ( virtual/libintl )

RDEPEND

nls? ( virtual/libintl )

BDEPEND

	sys-apps/texinfo
	nls? ( sys-devel/gettext )