mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 00:05:54 +03:00
Result of running the command: grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
31 lines
744 B
Bash
31 lines
744 B
Bash
# Copyright 1999-2025 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 ~amd64-linux ~x86-linux"
|
|
|
|
BDEPEND="sys-apps/texinfo"
|
|
|
|
PATCHES=(
|
|
"${FILESDIR}"/${PN}-2.22.6-docdirs.patch
|
|
"${FILESDIR}"/${PN}-2.23.1-fix-c17.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
|
|
}
|