# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI="6" inherit eutils flag-o-matic toolchain-funcs multilib-minimal DESCRIPTION="console display library" HOMEPAGE="http://invisible-island.net/ncurses/ https://www.gnu.org/software/ncurses/" if [[ ${PV} == "9999" ]] ; then inherit git-r3 EGIT_REPO_URI="https://github.com/mirror/ncurses.git" S="${WORKDIR}/${PF}" else inherit versionator MY_P="ncurses-$(replace_version_separator 2 -)" SRC_URI="https://invisible-mirror.net/archives/ncurses/current/${MY_P}.tgz" S="${WORKDIR}/${MY_P}" fi LICENSE="MIT" # The subslot reflects the SONAME. SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" IUSE="gpm tinfo" DEPEND="gpm? ( sys-libs/gpm[${MULTILIB_USEDEP}] )" # Block the ncurses-5 that installs the same lib. #557472 RDEPEND="${DEPEND} !