2018-05-27 18:28:31 +03:00
|
|
|
# Copyright 1999-2018 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI="6"
|
|
|
|
PLOCALES="en ja"
|
|
|
|
|
|
|
|
inherit flag-o-matic l10n toolchain-funcs
|
|
|
|
|
|
|
|
DESCRIPTION="Yash is a POSIX-compliant command line shell"
|
2018-06-04 08:34:45 +03:00
|
|
|
HOMEPAGE="https://yash.osdn.jp/"
|
2018-05-27 18:28:31 +03:00
|
|
|
SRC_URI="mirror://sourceforge.jp/${PN}/69353/${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="GPL-2+"
|
|
|
|
SLOT="0"
|
2018-07-22 21:57:45 +03:00
|
|
|
KEYWORDS="amd64 x86"
|
2018-05-27 18:28:31 +03:00
|
|
|
IUSE="nls test"
|
|
|
|
|
|
|
|
RDEPEND="sys-libs/ncurses:=
|
|
|
|
nls? ( virtual/libintl )"
|
|
|
|
DEPEND="${RDEPEND}
|
|
|
|
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
|
|
|
|
}
|