diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-20 10:22:14 +0100 |
commit | 46eedbedafdb0040c37884982d4c775ce277fb7b (patch) | |
tree | db33a91259730be84999e13a8d8168c799f50ac0 /app-shells/yash/yash-2.52.ebuild | |
parent | e23a08d0c97a0cc415aaa165da840b056f93c997 (diff) |
gentoo resync : 20.10.2021
Diffstat (limited to 'app-shells/yash/yash-2.52.ebuild')
-rw-r--r-- | app-shells/yash/yash-2.52.ebuild | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/app-shells/yash/yash-2.52.ebuild b/app-shells/yash/yash-2.52.ebuild new file mode 100644 index 000000000000..d9439e440b70 --- /dev/null +++ b/app-shells/yash/yash-2.52.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" +PLOCALES="en ja" + +inherit flag-o-matic plocale toolchain-funcs + +DESCRIPTION="Yash is a POSIX-compliant command line shell" +HOMEPAGE="https://yash.osdn.jp/" +SRC_URI="mirror://sourceforge.jp/${PN}/76153/${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 \ + --exec-prefix="${EPREFIX}" \ + $(use_enable nls) \ + CC=$(tc-getCC) \ + LINGUAS="$(plocale_get_locales | sed "s/en/en@quot en@boldquot/")" \ + || die +} |