From 5cad372d47ef8070bbba008b91f0d1b60d366243 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Fri, 10 Aug 2018 14:22:38 -0400 Subject: [PATCH] dev-php/pecl-stomp: Version bump for 2.0.2 Package-Manager: Portage-2.3.45, Repoman-2.3.10 --- dev-php/pecl-stomp/Manifest | 1 + dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild | 53 ++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild diff --git a/dev-php/pecl-stomp/Manifest b/dev-php/pecl-stomp/Manifest index 12da5ede688b..b7e281e4be5e 100644 --- a/dev-php/pecl-stomp/Manifest +++ b/dev-php/pecl-stomp/Manifest @@ -1,2 +1,3 @@ DIST stomp-1.0.9.tgz 23166 BLAKE2B 804fbe2703f5035a8faa744cddc84de5249b74186c22ab5e26c075a2f241262cadd237c7f566262fcdc25def846968a7788d80817743cdf53eb255cbc25053e1 SHA512 e3ab5bfb03c29edde63de4006b448e0204efbac5817b1443ee5b1a0249c2f96d58443847b878e838108b66e5307f6e803f807aff7430af748af4994bfca5199a DIST stomp-2.0.1.tgz 23494 BLAKE2B 3e9f042ffa4a8f54a0746db638ade4bf75febad0359e398894714c6c4d4b6bbaee65cfa384c379d14387026219f02013c6dbb7faba62ae11b4231215be7310ad SHA512 61cfacbd96f1061dc869ede6c1ca0f7bceb6120b28cc4a78fabcbace54a66ba540faf41ef72747b8bcc6a4ef98e405daac04e82bd4e079d90293f030684b04d3 +DIST stomp-2.0.2.tgz 23609 BLAKE2B b6ed89b5b8fd0bb501b2337e87107797eedc6ac53c81ba86d2e755cfa2dd716bf4e409cee623430791e0b4854833ef44ed7f6f9e1d89fcd2250d598af0dcaea6 SHA512 577a781b45ef394cd833fb69c808da9b8a8ff69b31b1093c5eef3f7b5d1b37cd0b45c32a03883f56f86213e32bb18aaf0a80010c6bec7efa7239ea48bc57b4b4 diff --git a/dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild b/dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild new file mode 100644 index 000000000000..a4649795c926 --- /dev/null +++ b/dev-php/pecl-stomp/pecl-stomp-2.0.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_PHP="php5-6 php7-0 php7-1 php7-2 php7-3" +PHP_EXT_NAME="stomp" +DOCS=( CREDITS doc/classes.php doc/functions.php ) + +inherit php-ext-pecl-r3 + +USE_PHP="php7-0 php7-1 php7-2 php7-3" + +KEYWORDS="~amd64 ~x86" + +DESCRIPTION="PHP extension to communicate with Stomp message brokers" +LICENSE="PHP-3.01" +SLOT="7" +IUSE="examples ssl test" + +DEPEND="${DEPEND} + php_targets_php7-0? ( dev-lang/php:7.0[ssl?] ) + php_targets_php7-1? ( dev-lang/php:7.1[ssl?] ) + php_targets_php7-2? ( dev-lang/php:7.2[ssl?] ) + php_targets_php7-3? ( dev-lang/php:7.3[ssl?] ) +" + +RDEPEND="${DEPEND} + php_targets_php5-6? ( dev-php/pecl-stomp:0 )" + +src_prepare() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7-2 || use php_targets_php7-3 ; then + php-ext-source-r3_src_prepare + else + default + fi +} + +src_configure() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7_2 || use php_targets_php7-3 ; then + local PHP_EXT_ECONF_ARGS=( + --enable-stomp + --with-openssl-dir=$(usex ssl "${EPREFIX}/usr") + ) + php-ext-source-r3_src_configure + fi +} + +src_install() { + if use php_targets_php7-0 || use php_targets_php7-1 || use php_targets_php7_2 || use php_targets_php7-3 ; then + php-ext-pecl-r3_src_install + fi +} -- 2.26.2