diff options
author | Andy Postnikov <apostnikov@gmail.com> | 2018-10-20 21:16:35 +0300 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2018-10-20 22:18:59 +0300 |
commit | bd0243a0cf64380e80aaa5ce3b1814aed156c69a (patch) | |
tree | 1c5a08ee3453068143af922603f982ed097f3783 /community | |
parent | f04acc55a9c33d3d8786192a7d3308694c8da12a (diff) | |
download | aports-bd0243a0cf64380e80aaa5ce3b1814aed156c69a.tar.bz2 aports-bd0243a0cf64380e80aaa5ce3b1814aed156c69a.tar.xz |
community/php7-pecl-xdebug: renamed from php7-xdebug, modernize
Diffstat (limited to 'community')
-rw-r--r-- | community/php7-pecl-xdebug/APKBUILD (renamed from community/php7-xdebug/APKBUILD) | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/community/php7-xdebug/APKBUILD b/community/php7-pecl-xdebug/APKBUILD index da7065261e..55a0679f6d 100644 --- a/community/php7-xdebug/APKBUILD +++ b/community/php7-pecl-xdebug/APKBUILD @@ -2,32 +2,32 @@ # Contributor: Valery Kartel <valery.kartel@gmail.com> # Contributor: Fabio Ribeiro <fabiorphp@gmail.com> # Maintainer: Andy Postnikov <apostnikov@gmail.com> -pkgname=php7-xdebug +pkgname=php7-pecl-xdebug _pkgname=xdebug pkgver=2.6.1 -pkgrel=0 -_phpver=${pkgname#php} -_phpver=${_phpver%%-*} -pkgdesc="PHP$_phpver extension that provides functions for function traces and profiling" +pkgrel=1 +pkgdesc="PHP extension that provides functions for function traces and profiling - PECL" url="https://pecl.php.net/package/xdebug" arch="all" license="PHP" -depends="php$_phpver-common" -makedepends="php$_phpver-dev autoconf" +depends="php7-common" +makedepends="php7-dev autoconf re2c" source="$pkgname-$pkgver.tgz::https://pecl.php.net/get/$_pkgname-$pkgver.tgz" -options="!check" +options="!check" # upstream does not provide tests yet builddir="$srcdir/$_pkgname-$pkgver" +provides="php7-xdebug=$pkgver-r$pkgrel" # for backward compatibility +replaces="php7-xdebug" # 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 } package() { - local confdir="$pkgdir/etc/php$_phpver/conf.d" + local confdir="$pkgdir/etc/php7/conf.d" cd "$builddir" make INSTALL_ROOT="$pkgdir" install @@ -39,4 +39,4 @@ package() { EOF } -sha512sums="31f26e592b3888d7cc74c6a7c51e0cc1151cf8a32100dda78098fb5b3e307cf8d0445b97247986c75b303a787f89b3937bc042dc52f19ca995753a6843bbd80b php7-xdebug-2.6.1.tgz" +sha512sums="31f26e592b3888d7cc74c6a7c51e0cc1151cf8a32100dda78098fb5b3e307cf8d0445b97247986c75b303a787f89b3937bc042dc52f19ca995753a6843bbd80b php7-pecl-xdebug-2.6.1.tgz" |