app-shells/mrsh - 9999 (guru)

Search

Install

Install this version:

emerge -a =app-shells/mrsh-9999

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-shells/mrsh-9999

Or alternatively:

emerge --autounmask-write -a =app-shells/mrsh-9999

Package Information

Description:
minimal strictly POSIX compliant shell
Homepage:
https://git.sr.ht/~emersion/mrsh
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
9999 8 0
View Raw Ebuild
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit git-r3 meson

DESCRIPTION="minimal strictly POSIX compliant shell"
HOMEPAGE="https://git.sr.ht/~emersion/mrsh"
EGIT_REPO_URI="https://git.sr.ht/~emersion/mrsh"
LICENSE="MIT"
SLOT="0"

IUSE="+readline libedit"
REQUIRED_USE="?? ( libedit readline )"

DEPEND="
	libedit? ( dev-libs/libedit )
	readline? ( sys-libs/readline:= )
"
RDEPEND="${DEPEND}"

RESTRICT="test"

src_configure() {
	local emesonargs=(
		-Dwerror=false
		-Dauto_features=disabled
	)

	if use readline || use libedit; then
		emesonargs+=(
			-Dreadline=enabled
			-Dreadline-provider=$(usev readline || usev libedit)
		)
	fi

	meson_src_configure
}

USE Flags

Manage flags for this package: euse -i <flag> -p app-shells/mrsh | euse -E <flag> -p app-shells/mrsh | euse -D <flag> -p app-shells/mrsh

Global/Standard Flags

readline
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

	libedit? ( dev-libs/libedit )
	readline? ( sys-libs/readline:= )

RDEPEND

	libedit? ( dev-libs/libedit )
	readline? ( sys-libs/readline:= )