diff options
author | Sam James <sam@gentoo.org> | 2022-07-17 19:19:37 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-07-17 19:30:31 +0000 |
commit | d053de83dc6c8b5f670f2c219ddf8129b7064986 (patch) | |
tree | b775a54af00ba5664b2d13de0c7b72d41703e61b /app-shells/rush/rush-2.3.ebuild | |
parent | app-emacs/emacs-bazel-mode: new package; add version 0_p20220707 (diff) | |
download | gentoo-d053de83dc6c8b5f670f2c219ddf8129b7064986.tar.gz gentoo-d053de83dc6c8b5f670f2c219ddf8129b7064986.tar.bz2 gentoo-d053de83dc6c8b5f670f2c219ddf8129b7064986.zip |
app-shells/rush: add 2.3
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells/rush/rush-2.3.ebuild')
-rw-r--r-- | app-shells/rush/rush-2.3.ebuild | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-shells/rush/rush-2.3.ebuild b/app-shells/rush/rush-2.3.ebuild new file mode 100644 index 000000000000..7bd9b3017931 --- /dev/null +++ b/app-shells/rush/rush-2.3.ebuild @@ -0,0 +1,32 @@ +# 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="https://download.gnu.org.ua/pub/release/${PN}/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="nls" + +BDEPEND="nls? ( sys-devel/gettext )" + +src_prepare() { + default + + # These tests see SANDBOX_* variables and fail as a result, bug #689554 + for file in tests/{eval,clr,unset,keep,set}env.at tests/legacy/env.at ; do + echo > ${file} || die + done +} + +src_configure() { + local myeconfargs=( + $(use_enable nls) + ) + + econf "${myeconfargs[@]}" +} |