blob: 9e61585d5f6158cd21887835b848fde807faf253 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_PHP="php5-6 php7-0 php7-1"
inherit php-ext-pecl-r3 git-r3
KEYWORDS=""
DESCRIPTION="PHP Bindings for ZeroMQ messaging"
LICENSE="BSD"
SLOT="0"
IUSE="czmq"
RDEPEND="net-libs/zeromq czmq? ( <net-libs/czmq-3 )"
DEPEND="${RDEPEND} virtual/pkgconfig"
SRC_URI=""
EGIT_REPO_URI="https://github.com/mkoppanen/php-zmq.git"
EGIT_CHECKOUT_DIR="${PHP_EXT_S}"
src_unpack() {
git-r3_src_unpack
php-ext-source-r3_src_unpack
}
src_configure() {
local PHP_EXT_ECONF_ARGS=( $(use_with czmq) )
php-ext-source-r3_src_configure
}
|