summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2022-03-17 22:37:42 -0400
committerBrian Evans <grknight@gentoo.org>2022-03-17 22:37:42 -0400
commit1f44446adac22b16cfee62ec4ac8912ee6837d01 (patch)
treed3a15c6ebe2e39e2f41af3576e8692d0c88a686b /dev-php
parentsys-devel/gcc: add 9.4.1_p20220317 (diff)
downloadgentoo-1f44446adac22b16cfee62ec4ac8912ee6837d01.tar.gz
gentoo-1f44446adac22b16cfee62ec4ac8912ee6837d01.tar.bz2
gentoo-1f44446adac22b16cfee62ec4ac8912ee6837d01.zip
dev-php/pecl-parallel: Add live ebuild
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-parallel/pecl-parallel-9999.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-php/pecl-parallel/pecl-parallel-9999.ebuild b/dev-php/pecl-parallel/pecl-parallel-9999.ebuild
new file mode 100644
index 000000000000..f89155872481
--- /dev/null
+++ b/dev-php/pecl-parallel/pecl-parallel-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+PHP_EXT_NAME="parallel"
+USE_PHP="php8-0 php8-1"
+PHP_EXT_NEEDED_USE="threads"
+PHP_EXT_ECONF_ARGS=()
+
+inherit php-ext-source-r3 git-r3
+
+DESCRIPTION="A succint parallel concurrency API for PHP"
+HOMEPAGE="https://pecl.php.net/package/parallel"
+EGIT_REPO_URI="https://github.com/krakjoe/parallel.git"
+
+LICENSE="PHP-3.01"
+SLOT="0"
+KEYWORDS=""
+IUSE="doc"
+
+src_unpack() {
+ git-r3_src_unpack
+
+ # create the default modules directory to be able
+ # to use the php-ext-source-r3 eclass to configure/build
+ ln -s src "${S}/modules" || die
+}