summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r2.ebuild')
-rw-r--r--dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r2.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r2.ebuild b/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r2.ebuild
new file mode 100644
index 000000000000..2850bc43cffd
--- /dev/null
+++ b/dev-php/pecl-uploadprogress/pecl-uploadprogress-1.0.3.1-r2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+USE_PHP="php5-6 php5-5 php5-4"
+
+inherit php-ext-pecl-r2
+
+DESCRIPTION="An extension to track progress of a file upload"
+LICENSE="PHP-3.01"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+for target in ${USE_PHP}; do
+ slot=${target/php}
+ slot=${slot/-/.}
+ PHPUSEDEPEND="${PHPUSEDEPEND}
+ php_targets_${target}? ( dev-lang/php:${slot}[apache2] )"
+done
+
+RDEPEND="${PHPUSEDEPEND}"
+
+pkg_postinst() {
+ elog "This extension is only known to work on Apache with mod_php."
+}