summaryrefslogtreecommitdiff
blob: 929d4af529693be7f5a7a4ffd9351b8315cb8100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

USE_PHP="php5-6 php7-1 php7-2 php7-3"

inherit php-ext-pecl-r3

SRC_URI+=" https://dev.gentoo.org/~grknight/distfiles/${P}-php7.patch.xz"

DESCRIPTION="Terminal screen handling and optimization package"

LICENSE="PHP-3.01"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

DEPEND="sys-libs/ncurses:0="
RDEPEND="${DEPEND}"

PHP_EXT_ECONF_ARGS=( --enable-ncursesw )
PATCHES=( "${WORKDIR}/${P}-php7.patch" "${FILESDIR}/${P}-php7.3.patch" )