summaryrefslogtreecommitdiff
blob: cabf20f3885d43abbe6cc0a640fe923799d83c5c (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-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

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[@]}"
}