summaryrefslogtreecommitdiff
path: root/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.1.3.ebuild
blob: a19bb78b273da5ef7aa8003200af319a6ebc2dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

USE_PHP="php7-2 php7-3 php7-4"

inherit php-ext-pecl-r3

DESCRIPTION="An extension to track progress of a file upload"
LICENSE="PHP-3.01"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples"

RDEPEND="
	php_targets_php7-2? ( dev-lang/php:7.2[apache2] )
	php_targets_php7-3? ( dev-lang/php:7.3[apache2] )
	php_targets_php7-4? ( dev-lang/php:7.4[apache2] )
"

src_install() {
	default
	use examples && dodoc -r examples
}