diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/php7-pecl-zmq/APKBUILD (renamed from community/php7-zmq/APKBUILD) | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/community/php7-zmq/APKBUILD b/community/php7-pecl-zmq/APKBUILD index 31c5953851..ba5cd9ef21 100644 --- a/community/php7-zmq/APKBUILD +++ b/community/php7-pecl-zmq/APKBUILD @@ -1,25 +1,25 @@ # Contributor: Fabio Ribeiro <fabiorphp@gmail.com> # Maintainer: Fabio Ribeiro <fabiorphp@gmail.com> -pkgname=php7-zmq +pkgname=php7-pecl-zmq _pkgreal=zmq pkgver=1.1.3 -pkgrel=2 -_phpver=${pkgname#php} -_phpver=${_phpver%%-*} -pkgdesc="PHP$_phpver extension for ZeroMQ" -url="http://pecl.php.net/package/zmq" +pkgrel=3 +pkgdesc="PHP extension for ZeroMQ - PECL" +url="https://pecl.php.net/package/zmq" arch="all" license="PHP" -depends="php$_phpver-common" -makedepends="php$_phpver-dev autoconf zeromq-dev" +depends="php7-common" +makedepends="php7-dev autoconf zeromq-dev" source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgreal-$pkgver.tgz" builddir="$srcdir/$_pkgreal-$pkgver" +provides="php7-zmq=$pkgver-r$pkgrel" # for backward compatibility +replaces="php7-zmq" # for backward compatibility build() { cd "$builddir" - phpize$_phpver - ./configure --prefix=/usr --with-php-config=php-config$_phpver + phpize7 + ./configure --prefix=/usr --with-php-config=php-config7 make } @@ -31,7 +31,7 @@ check() { } package() { - local confdir="$pkgdir/etc/php$_phpver/conf.d" + local confdir="$pkgdir/etc/php7/conf.d" cd "$builddir" make INSTALL_ROOT="$pkgdir" install @@ -40,4 +40,4 @@ package() { echo "extension=$_pkgreal.so" > "$confdir"/50_$_pkgreal.ini } -sha512sums="0f03016e315a6c6a1e1d6eca1e20564834d2a924cef06af1b38693933f1e5a094c37e9c432705a64f61d95e82655f61358fc7783e7a6f06c7dd9ad84fc6f7bbc php7-zmq-1.1.3.tgz" +sha512sums="0f03016e315a6c6a1e1d6eca1e20564834d2a924cef06af1b38693933f1e5a094c37e9c432705a64f61d95e82655f61358fc7783e7a6f06c7dd9ad84fc6f7bbc php7-pecl-zmq-1.1.3.tgz" |