summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2017-08-14 10:59:31 -0400
committerBrian Evans <grknight@gentoo.org>2017-08-14 11:01:10 -0400
commit85bcfe89a3124ba35e2c02a5a1e1bc8b51e49678 (patch)
tree5a8e8a84d42adb21013ece1894ef82bea5c2134f /dev-php
parentdev-php/pecl-taint: Version bump for 2.0.4 (diff)
downloadgentoo-85bcfe89a3124ba35e2c02a5a1e1bc8b51e49678.tar.gz
gentoo-85bcfe89a3124ba35e2c02a5a1e1bc8b51e49678.tar.bz2
gentoo-85bcfe89a3124ba35e2c02a5a1e1bc8b51e49678.zip
dev-php/pecl-ps: Version bump for 1.4.1
Package-Manager: Portage-2.3.7, Repoman-2.3.3
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-ps/Manifest1
-rw-r--r--dev-php/pecl-ps/pecl-ps-1.3.7-r2.ebuild42
-rw-r--r--dev-php/pecl-ps/pecl-ps-1.4.1.ebuild41
3 files changed, 84 insertions, 0 deletions
diff --git a/dev-php/pecl-ps/Manifest b/dev-php/pecl-ps/Manifest
index 8fadf8ab53d5..d0ff5c121df5 100644
--- a/dev-php/pecl-ps/Manifest
+++ b/dev-php/pecl-ps/Manifest
@@ -1,2 +1,3 @@
DIST ps-1.3.7.tgz 634024 SHA256 b4f83f7a4426e59a3026dec59405755c9a12f223d1286abb972d81abb11c8205 SHA512 cec6ecad27d35787a92453482f0e45fdcfe4bf79aab9cf1f7f6bc4468cf626343ed2b33d52d2ec48302a2ede9ecca3b397fb2d56fbc088997f39014f3dc47770 WHIRLPOOL f807623afd0871b60052221f74d3917de007252dfefd9c7e0627e26bd4c67f3801d42429ac6f8eb03da387440c25c096cf355fda136a297f7ce2b11f3bac4404
DIST ps-1.4.0.tgz 634272 SHA256 bb8e9130399c79eed4dfe2ae046160cdd2d03ae16e59b65c0d8f0e1eb49e2410 SHA512 c268bc8d675d7082690d892448a458d69234b504b3be2408d2744224c356e7444fe1320af1256b974a2ee0fd6e0eca48fe0fa633b1df84da2e9532cd953bc306 WHIRLPOOL a24b458eb0d7388bcf7eb041f8af64317de819a2860854de4b54d57f6fd4b256914a5eb67e45607aaec5894017beea787323dcd438e500c9be3a5a1c5cad3497
+DIST ps-1.4.1.tgz 578991 SHA256 462ac0d42ea492e1aebde45dc23a60b1f99ed7570944e4f648c81a471603b5fc SHA512 e9eeb5ad1c9314af0fcfd33e461b560f6cc599a679bc0a5541994fa698e3da63b7cb523f617647bdb2ac1c8fc090263e314ddf956a1e6126f8813de92e49f3af WHIRLPOOL 208da5eba84d2e56bc75ee805a65bdf6eb21ac936c531ebb2de0d48a4517f8f952b4071a6e50e60fcd91f7b1ebdc79f670cd4220fc036e7d5cea72aaa4957838
diff --git a/dev-php/pecl-ps/pecl-ps-1.3.7-r2.ebuild b/dev-php/pecl-ps/pecl-ps-1.3.7-r2.ebuild
new file mode 100644
index 000000000000..c01be7d3e797
--- /dev/null
+++ b/dev-php/pecl-ps/pecl-ps-1.3.7-r2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PHP_EXT_NAME="ps"
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
+
+inherit php-ext-pecl-r3
+
+# Only really build for 5.6
+USE_PHP="php5-6"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="PHP extension for creating PostScript files"
+LICENSE="PHP-2.02"
+SLOT="0"
+IUSE="examples"
+
+DEPEND="php_targets_php5-6? ( dev-libs/pslib )"
+RDEPEND="${DEPEND}"
+PDEPEND="
+ php_targets_php7-0? ( dev-php/pecl-ps:7[php_targets_php7-0] )
+ php_targets_php7-1? ( dev-php/pecl-ps:7[php_targets_php7-1] )
+ php_targets_php7-2? ( dev-php/pecl-ps:7[php_targets_php7-2] )
+"
+PHP_EXT_ECONF_ARGS=""
+
+src_prepare() {
+ if use php_targets_php5-6 ; then
+ php-ext-source-r3_src_prepare
+ else
+ default_src_prepare
+ fi
+}
+
+src_install() {
+ if use php_targets_php5-6 ; then
+ php-ext-pecl-r3_src_install
+ fi
+}
diff --git a/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild
new file mode 100644
index 000000000000..86ad145c8f78
--- /dev/null
+++ b/dev-php/pecl-ps/pecl-ps-1.4.1.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PHP_EXT_NAME="ps"
+USE_PHP="php5-6 php7-0 php7-1 php7-2"
+
+inherit php-ext-pecl-r3
+
+# Only really build for >=7.0
+USE_PHP="php7-0 php7-1 php7-2"
+
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+
+DESCRIPTION="PHP extension for creating PostScript files"
+LICENSE="BSD"
+SLOT="7"
+IUSE="examples"
+
+DEPEND="
+ php_targets_php7-0? ( dev-libs/pslib )
+ php_targets_php7-1? ( dev-libs/pslib )
+ php_targets_php7-2? ( dev-libs/pslib )
+"
+RDEPEND="${DEPEND} php_targets_php5-6? ( dev-php/pecl-ps:0[php_targets_php5-6] )"
+PHP_EXT_ECONF_ARGS=""
+
+src_prepare() {
+ if use php_targets_php7-0 || use php_target_php7-1 || use php_targets_php7-2 ; then
+ php-ext-source-r3_src_prepare
+ else
+ default_src_prepare
+ fi
+}
+
+src_install() {
+ if use php_targets_php7-0 || use php_target_php7-1 || use php_targets_php7-2 ; then
+ php-ext-pecl-r3_src_install
+ fi
+}