diff options
Diffstat (limited to 'dev-php/pecl-mailparse')
-rw-r--r-- | dev-php/pecl-mailparse/Manifest | 1 | ||||
-rw-r--r-- | dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-php/pecl-mailparse/Manifest b/dev-php/pecl-mailparse/Manifest index aeea2dc7031b..a6b21761db49 100644 --- a/dev-php/pecl-mailparse/Manifest +++ b/dev-php/pecl-mailparse/Manifest @@ -1,5 +1,6 @@ DIST mailparse-2.1.6.tgz 36538 BLAKE2B c079a5f9980384ea90113d3e295b3de4182c8c3006a62439bfb73ab39dc67bb03202298e7bf5e42f71d599d645cf4d79fbf2d09a536e621efe73f8fff6bce56a SHA512 a7337dd2e99a953a55b38c236da95a6bd2950c2bca16fc0ddfec39be8b0ffe01007353fc7b562d0509e0bb1623c3d2b03935d1c98a07dcd9f0b14bb508bce374 DIST mailparse-3.0.2.tgz 38206 BLAKE2B f50b3f5abfc6e2e5a3647eb33ad07de9e3e66a94933be612a51c868210745b109ddca8e3e174a7a4abcfdc72856f34848e65972b277cfa3e836bef3ee4c79897 SHA512 be04e15cf3577542447186d7ead4e31159c171c99de0a255d4ee2f6f760b80ecb44be056bd9089180601f622b9a71f4331f194e1adaa702d1d964009682896f6 EBUILD pecl-mailparse-2.1.6-r4.ebuild 839 BLAKE2B 518ecef31d10faf97091c9c7e8cd13789d47b42ecafd7c75822c5e91a10fa2a952e48440503b5697a3581d3723ebb279e134e42b66284b017b2d11ab7341bdc8 SHA512 0ca4e958f293f3dbef2cbbbd08248a11f9eeadc971c5e5f940b56fc721aaa841ae143e4a60989e344307c5641e3e1266c771397f422e8f30074b0d0041e716c9 +EBUILD pecl-mailparse-3.0.2-r1.ebuild 1102 BLAKE2B e2d3415cdf18b60b438eb722965ce005f2eff5a369b2852130f8327371ee8a8ca116c45019c6cc7c3352adca1c270f3e05ab8397b08093cac7b9e9b6133f2c65 SHA512 1abb3679ff2b75393541481a09d5652d4e17a517e1e98e916882f1081906761b66a9469e0971506b4985d1eb22c6c0c033df8c5f8314ab0dabce76858c7ade9e EBUILD pecl-mailparse-3.0.2.ebuild 1070 BLAKE2B ed243cc104739cca574ff091ac1ff0722e7971a05cf9fb42cc5f6592d0f6363b1f73382cf61b3181e91c7bf7f441c702e946b787749b784648c4c8c548dd2f8a SHA512 69b0b8ded36c21069f5aa10244288526af79a3afb7b24044e1ac50fc7888158c7ca6e1d6cd247c207a3c0a43892d65ea6826f579acb74fe36f4a05ed05e13d11 MISC metadata.xml 239 BLAKE2B 9b7c5dcb74289073481cf07031b7a92f32496cc1097becb074d74a8fbb8133de429ce1baf284e446e44132943c8b32e6b824570f15828588e42ea49ef5661f00 SHA512 2181b874bfe8cd31e7730d8207e26cfd2f272eaf2d1b57ae0faff126347a5298fa1c506d9107e1da9736c8a0ed9c8c339e4d9509a8726b79dbe86e073c12dee0 diff --git a/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild new file mode 100644 index 000000000000..9b37d88dcd95 --- /dev/null +++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.2-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PHP_EXT_NAME="mailparse" +PHP_EXT_INI="yes" +PHP_EXT_ZENDEXT="no" +PHP_EXT_ECONF_ARGS="" +DOCS=( README ) + +USE_PHP="php7-0 php7-1 php5-6 php7-2" + +inherit php-ext-pecl-r3 + +# Only build for 7.x +USE_PHP="php7-0 php7-1 php7-2" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + +DESCRIPTION="PHP extension for parsing and working with RFC822 and MIME compliant messages" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="" + +PHPUSEDEPEND=" + php_targets_php7-0? ( dev-lang/php:7.0[unicode] ) + php_targets_php7-1? ( dev-lang/php:7.1[unicode] ) + php_targets_php7-2? ( dev-lang/php:7.2[unicode] ) +" +DEPEND="${PHPUSEDEPEND} + dev-util/re2c" +RDEPEND="${PHPUSEDEPEND} php_targets_php5-6? ( dev-php/pecl-mailparse:0[php_targets_php5-6] )" + +src_prepare() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then + php-ext-source-r3_src_prepare + else + default + fi +} + +src_install() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 ; then + php-ext-pecl-r3_src_install + fi +} |