dev-util/gengetopt - 2.23 (gentoo)

Search

Install

Install this version:

emerge -a =dev-util/gengetopt-2.23

Package Information

Description:
Tool to write command line option parsing code for C programs
Homepage:
https://www.gnu.org/software/gengetopt/
License:
GPL-3+ public-domain

Ebuild Details

Version EAPI Keywords Slot
2.23 8 ~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~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

DESCRIPTION="Tool to write command line option parsing code for C programs"
HOMEPAGE="https://www.gnu.org/software/gengetopt/"
SRC_URI="mirror://gnu/${PN}/${P}.tar.xz"

LICENSE="GPL-3+ public-domain"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"

BDEPEND="sys-apps/texinfo"

PATCHES=(
	"${FILESDIR}"/${PN}-2.22.6-docdirs.patch
	"${FILESDIR}"/${PN}-2.23.1-fix-c17.patch
	"${FILESDIR}"/${PN}-2.23.1-fix_tests_order.patch
)

src_prepare() {
	default

	sed -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' -i configure.ac || die
	sed -e '/gengetoptdoc_DATA/d' -i Makefile.am || die

	eautoreconf
}

Inherited Eclasses

Applicable Mirrors

Mirror Name URLs
gnu

Dependencies

BDEPEND

sys-apps/texinfo

Manifest for 2.23

Type File Size Source URLs
DIST gengetopt-2.23.tar.xz 584860 bytes mirror://gnu/gengetopt/gengetopt-2.23.tar.xz