Files
gentoo/dev-util/shtool/shtool-2.0.8-r2.ebuild
Arthur Zamarin 0ad96e879b */*: destable sparc
Result of running the command:
 grep --include="*.ebuild" -r . -e 'KEYWORDS=.*[" ]sparc' -l | xargs ekeyword ~sparc

Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
2025-09-02 20:00:14 +03:00

23 lines
546 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit toolchain-funcs
DESCRIPTION="Set of stable and portable shell scripts"
HOMEPAGE="https://www.gnu.org/software/shtool/shtool.html"
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 arm ~hppa ppc ~s390 ~sparc x86"
DEPEND="dev-lang/perl"
DOCS=( AUTHORS ChangeLog README THANKS VERSION NEWS RATIONAL )
src_prepare() {
default
sed -i "s|opt_C=\"ar\"|opt_C=\"$(tc-getAR)\"|g" sh.arx || die
}