diff options
Diffstat (limited to 'dev-php')
-rw-r--r-- | dev-php/pecl-event/Manifest | 1 | ||||
-rw-r--r-- | dev-php/pecl-event/pecl-event-2.2.1.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-php/pecl-event/Manifest b/dev-php/pecl-event/Manifest index f2808e1249c9..394bbfa4d66b 100644 --- a/dev-php/pecl-event/Manifest +++ b/dev-php/pecl-event/Manifest @@ -1,2 +1,3 @@ DIST event-1.11.1.tgz 78942 SHA256 371e8d559461542058efd57be61fd8316121985dc455f2e7979722e37cedd526 SHA512 95db37aa339b7530b3636835191be12eceefa23e2b511b84c7654556145ce1e198bb81299380bb742b1edfc0e32222c96d81f5f2f6f2f19d41d636dc9f517480 WHIRLPOOL d0a1104d418a218e0b4311b02d05ae2a8e47ab3039047a2bae320d7e19f87b4aade28c0755741077e9380d29cdc626a250c75dd7fe75bffb6ac3ca235a5435c2 DIST event-2.1.0.tgz 132147 SHA256 26bfcf7e29679b8923430f1a8fc9e9b344d52415bc77601a97ea7b71fd24f2cf SHA512 66fec4ed99d2cb2285253690be530021e8aeb22b6c5f1c9e5bcfdddd670c0107cd5bae88cae70dd5f22f9a5e1f8d5b52dacc7267b78dcedb0a81f5bb1a43b9ca WHIRLPOOL 9840d43c828552c5eae129f0aff60483ed944e142011ce641fad4ffefe1390d5dedca7cfa8c2c5c0bb7c93ad022933d7303c11939a5bc74bd78a0b4d71ec8bb4 +DIST event-2.2.1.tgz 133147 SHA256 44756686df68d8ef4fcee31359c0c03802b1f55ad88db7ac142169777f3d17ef SHA512 a331e0cbb923b2efe95a366c842929e9ffcdf15d4b95dce83f5d1e9bb33045477f278672835ffc087df89aa3614106cf504f4e6a779a620b94c20d83449e95f2 WHIRLPOOL a5e5e83b960483d429be3cc547bb89a0fe1e0dd53755aba465974b6c95d0d19e1f4703689067b8d1e75a9a4b8af3cbc3761c3d603634e32df3b927727402110c diff --git a/dev-php/pecl-event/pecl-event-2.2.1.ebuild b/dev-php/pecl-event/pecl-event-2.2.1.ebuild new file mode 100644 index 000000000000..4099c2e58f2a --- /dev/null +++ b/dev-php/pecl-event/pecl-event-2.2.1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="6" + +PHP_EXT_NAME="event" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +DOCS=( README.md ) + +USE_PHP="php5-6 php7-0 php7-1" + +inherit php-ext-pecl-r3 + +KEYWORDS="~amd64 ~ia64 ~x86" +LICENSE="PHP-3.01" + +DESCRIPTION="PHP wrapper for libevent2" +LICENSE="PHP-3" +SLOT="0" + +DEPEND=" + >=dev-libs/libevent-2.0.2 + php_targets_php5-6? ( dev-lang/php:5.6[sockets?] ) + php_targets_php7-0? ( dev-lang/php:7.0[sockets?] ) + php_targets_php7-1? ( dev-lang/php:7.1[sockets?] )" + +RDEPEND="${DEPEND} !dev-php/pecl-libevent" + +IUSE="debug +extra +ssl threads +sockets examples" + +src_configure() { + local PHP_EXT_ECONF_ARGS=( + --with-event-core + $(use_enable debug event-debug) + $(use_with extra event-extra) + $(use_with ssl event-openssl) + $(use_with threads event-pthreads) + $(use_enable sockets event-sockets) + ) + php-ext-source-r3_src_configure +} |