aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2021-04-10 00:15:14 +0300
committerAndy Postnikov <apostnikov@gmail.com>2021-05-19 05:15:18 +0000
commit9a77c865505c3f8c3c5ec6c3c0c1ab28b8557fb6 (patch)
tree04807c5f7f5c269b883e7c5d187de9f1f7e06ccc
parentff8a7042ed8487db6a3f32b96f82a0797e6e0ff4 (diff)
downloadaports-9a77c865505c3f8c3c5ec6c3c0c1ab28b8557fb6.tar.gz
aports-9a77c865505c3f8c3c5ec6c3c0c1ab28b8557fb6.tar.bz2
aports-9a77c865505c3f8c3c5ec6c3c0c1ab28b8557fb6.tar.xz
testing/php8-pecl-swoole: upgrade to 4.6.7 and modernize
-rw-r--r--testing/php8-pecl-swoole/APKBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/testing/php8-pecl-swoole/APKBUILD b/testing/php8-pecl-swoole/APKBUILD
index 0ca3e519d6..5261e128f7 100644
--- a/testing/php8-pecl-swoole/APKBUILD
+++ b/testing/php8-pecl-swoole/APKBUILD
@@ -1,14 +1,14 @@
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php8-pecl-swoole
_extname=swoole
-pkgver=4.6.4
+pkgver=4.6.7
pkgrel=0
pkgdesc="Event-driven asynchronous and concurrent networking engine with high performance for PHP."
url="https://pecl.php.net/package/swoole"
arch="all"
license="Apache-2.0"
-depends="php8-mysqlnd php8-openssl php8-sockets"
-makedepends="php8-dev openssl-dev nghttp2-dev libucontext-dev"
+depends="php8-curl php8-mysqlnd php8-openssl php8-sockets"
+makedepends="php8-dev openssl-dev nghttp2-dev libucontext-dev curl-dev"
source="php-pecl-$_extname-$pkgver.tgz::https://pecl.php.net/get/$_extname-$pkgver.tgz"
builddir="$srcdir"/$_extname-$pkgver
subpackages="$pkgname-dev"
@@ -23,6 +23,7 @@ build() {
--enable-mysqlnd \
--enable-openssl --with-openssl-dir=/usr \
--enable-sockets \
+ --enable-swoole-curl \
--enable-swoole-json \
--enable-http2
make
@@ -37,7 +38,9 @@ package() {
make INSTALL_ROOT="$pkgdir" install
local _confdir="$pkgdir"/etc/php8/conf.d
install -d $_confdir
- echo "extension=$_extname.so" > $_confdir/50_$_extname.ini
+ echo "extension=$_extname" > $_confdir/50_$_extname.ini
}
-sha512sums="d93284d8e3129a802da1ed049436cc7c3dbcbe51e105acd4fa6263ab79d331b9bb7b21845934b3809fb68626425372132d04ad0e7a43fd46af0c0a209227eafd php-pecl-swoole-4.6.4.tgz"
+sha512sums="
+011e7088952791abb19fdbebf720fd450c41debdb4563fcbe1d95666379d6b38b57b70befcb7ddd904f20e789026f3fb180f4a71ca803390f5d7d0dba716e996 php-pecl-swoole-4.6.7.tgz
+"