aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--community/php7-pecl-zmq/APKBUILD14
1 files changed, 4 insertions, 10 deletions
diff --git a/community/php7-pecl-zmq/APKBUILD b/community/php7-pecl-zmq/APKBUILD
index 6588231559..267f804f20 100644
--- a/community/php7-pecl-zmq/APKBUILD
+++ b/community/php7-pecl-zmq/APKBUILD
@@ -3,13 +3,13 @@
pkgname=php7-pecl-zmq
_pkgreal=zmq
pkgver=1.1.3
-pkgrel=6
+pkgrel=7
pkgdesc="PHP extension for ZeroMQ - PECL"
url="https://pecl.php.net/package/zmq"
arch="all"
-license="PHP"
+license="PHP-3.01"
depends="php7-common"
-makedepends="php7-dev autoconf zeromq-dev"
+makedepends="php7-dev zeromq-dev"
source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz
fix-php-7.3-compile.patch"
builddir="$srcdir/$_pkgreal-$pkgver"
@@ -17,25 +17,19 @@ provides="php7-zmq=$pkgver-r$pkgrel" # for backward compatibility
replaces="php7-zmq" # for backward compatibility
build() {
- cd "$builddir"
-
phpize7
./configure --prefix=/usr --with-php-config=php-config7
make
}
check() {
- cd "$builddir"
-
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {
- local confdir="$pkgdir/etc/php7/conf.d"
- cd "$builddir"
-
make INSTALL_ROOT="$pkgdir" install
+ local confdir="$pkgdir/etc/php7/conf.d"
mkdir -p "$confdir"
echo "extension=$_pkgreal.so" > "$confdir"/50_$_pkgreal.ini
}