summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-php/pecl-mailparse/Manifest1
-rw-r--r--dev-php/pecl-mailparse/pecl-mailparse-3.0.0.ebuild32
2 files changed, 33 insertions, 0 deletions
diff --git a/dev-php/pecl-mailparse/Manifest b/dev-php/pecl-mailparse/Manifest
index 55432e8c6fa7..3d70c47b1ba4 100644
--- a/dev-php/pecl-mailparse/Manifest
+++ b/dev-php/pecl-mailparse/Manifest
@@ -1 +1,2 @@
DIST mailparse-2.1.6.tgz 36538 SHA256 73705197d2b2ee782efa5477eb2a21432f592c2cb05a72c3a037bbe39e02b5cc SHA512 a7337dd2e99a953a55b38c236da95a6bd2950c2bca16fc0ddfec39be8b0ffe01007353fc7b562d0509e0bb1623c3d2b03935d1c98a07dcd9f0b14bb508bce374 WHIRLPOOL 238f209a45d83eb9b91cf34f1398ff85c538e8273f73791d4736b15e21de3d48395fd0b838e927cd9dd247bff265782c3e96c87b1d90e73bffc1e6b04beea1ba
+DIST mailparse-3.0.0.tgz 37878 SHA256 92a80f7d2cda597ca75186531006b802fa278f33d1b3b854420f48832e5bc7da SHA512 2aef70edc5400c7c45847ca57e733897d7fe844fa7550d3091bbc75b1ef459dff2a48f438ca04330379b57e62ed96081ea1fbea9e13ac0e873e906f4d92c1d9f WHIRLPOOL 26114676026dc7890d476db78e67447b28b3d037e55e6402c6e220dff2a410e91ddd0cf2579536143db67ad5155cdd3893c3b1059cc067c1c1338be51e5c94fb
diff --git a/dev-php/pecl-mailparse/pecl-mailparse-3.0.0.ebuild b/dev-php/pecl-mailparse/pecl-mailparse-3.0.0.ebuild
new file mode 100644
index 000000000000..688047638df4
--- /dev/null
+++ b/dev-php/pecl-mailparse/pecl-mailparse-3.0.0.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+PHP_EXT_NAME="mailparse"
+PHP_EXT_INI="yes"
+PHP_EXT_ZENDEXT="no"
+DOCS="README"
+
+USE_PHP="php7-0"
+
+inherit php-ext-pecl-r2
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="PHP extension for parsing and working with RFC822 and MIME compliant messages"
+LICENSE="PHP-3.01"
+SLOT="0"
+IUSE=""
+
+for target in ${USE_PHP}; do
+ phpslot=${target/php}
+ phpslot=${phpslot/-/.}
+ PHPUSEDEPEND="${PHPUSEDEPEND}
+ php_targets_${target}? ( dev-lang/php:${phpslot}[unicode] )"
+done
+
+RDEPEND="${PHPUSEDEPEND}"
+DEPEND="${RDEPEND}
+ dev-util/re2c"