mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-10 03:01:44 +01:00
38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# Contributor: Fabio Ribeiro <fabiorphp@gmail.com>
|
|
# Maintainer: Fabio Ribeiro <fabiorphp@gmail.com>
|
|
pkgname=php7-xdebug
|
|
_pkgreal=xdebug
|
|
pkgver=2.4.1
|
|
_pkgver=${pkgver/_rc/RC}
|
|
pkgrel=0
|
|
pkgdesc="PHP extension provides functions for function traces and profiling"
|
|
url="http://pecl.php.net/package/$_pkgreal"
|
|
arch="all"
|
|
license="PHP"
|
|
depends=
|
|
pecldepends="php7-dev autoconf"
|
|
makedepends="$pecldepends"
|
|
install=""
|
|
subpackages=""
|
|
source="http://pecl.php.net/get/$_pkgreal-$_pkgver.tgz"
|
|
|
|
builddir="$srcdir"/$_pkgreal-$_pkgver
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
phpize7 || return 1
|
|
./configure --prefix=/usr --with-php-config=php-config7 || return 1
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make INSTALL_ROOT="$pkgdir/" install || return 1
|
|
install -d "$pkgdir"/etc/php7/conf.d || return 1
|
|
echo "zend_extension=$_pkgreal.so" > "$pkgdir"/etc/php7/conf.d/$_pkgreal.ini
|
|
}
|
|
|
|
md5sums="03f52af10108450942c9c0ac3b72637f xdebug-2.4.1.tgz"
|
|
sha256sums="23c8786e0f5aae67b1e5035972bfff282710fb84c483887cebceb8ef5bbdf8ef xdebug-2.4.1.tgz"
|
|
sha512sums="64b345b4809fb0f020eb8fe7a0826056a64728ec9565bbb2d0e717ac7b3ca8aa0856b91c2ba47a7435b7500c5efa643682f245d6cd9d0a537f8bb9ab0d5cea3a xdebug-2.4.1.tgz"
|