summaryrefslogtreecommitdiff
blob: 66cb66e7a09938d53fc944f01f7c08d86fe7e75b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DESCRIPTION="Restricted User Shell"
HOMEPAGE="https://puszcza.gnu.org.ua/projects/rush/"
SRC_URI="ftp://download.gnu.org.ua/pub/release/${PN}/${P}.tar.xz"

KEYWORDS="~amd64 ~x86"
LICENSE="GPL-3"
SLOT="0"

IUSE="nls"

BDEPEND="
	nls? ( sys-devel/gettext )
"

# Testsuite doesn't like our sandbox (bug #689554)
RESTRICT="test"

src_configure() {
	local myeconfargs=(
		$(use_enable nls)
	)
	econf "${myeconfargs[@]}"
}