You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-shells/yash/yash-2.50.ebuild

35 lines
766 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PLOCALES="en ja"
inherit flag-o-matic l10n toolchain-funcs
DESCRIPTION="Yash is a POSIX-compliant command line shell"
HOMEPAGE="https://yash.osdn.jp/"
SRC_URI="mirror://sourceforge.jp/${PN}/73097/${P}.tar.xz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="nls test"
RESTRICT="!test? ( test )"
RDEPEND="sys-libs/ncurses:=
nls? ( virtual/libintl )"
DEPEND="${RDEPEND}"
BDEPEND="nls? ( sys-devel/gettext )
test? ( sys-apps/ed )"
src_configure() {
append-cflags -std=c99
sh ./configure \
--prefix="${EPREFIX}"/usr \
$(use_enable nls) \
CC=$(tc-getCC) \
LINGUAS="$(l10n_get_locales | sed "s/en/en@quot en@boldquot/")" \
|| die
}