summaryrefslogtreecommitdiff
path: root/dev-util/shtool/shtool-2.0.8-r2.ebuild
blob: 39b6b41e71e0402bfe7b6ab7a432bbf405eb9bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Copyright 1999-2023 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 ~ia64 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
}