Skip to content
Snippets Groups Projects
Commit 8e0f8a81 authored by Andy Postnikov's avatar Andy Postnikov
Browse files

testing/php7-tideways_xhprof: new aport

parent 1f6a8003
No related branches found
No related tags found
No related merge requests found
# Contributor: Andy Postnikov <apostnikov@gmail.com>
# Maintainer: Andy Postnikov <apostnikov@gmail.com>
pkgname=php7-tideways_xhprof
_pkgext=tideways_xhprof
_pkgreal=php-xhprof-extension
pkgver=5.0_beta2
_pkgver=${pkgver/_/-}
pkgrel=0
pkgdesc="Modern XHProf compatible Profiler for PHP 7 https://tideways.io"
url="https://github.com/tideways/php-xhprof-extension"
arch="all"
license="Apache-2.0"
depends="php7"
makedepends="php7-dev autoconf"
install=""
subpackages=""
source="$pkgname-$pkgver.tar.gz::https://github.com/tideways/php-xhprof-extension/archive/v$_pkgver.tar.gz"
builddir="$srcdir"/$_pkgreal-$_pkgver
build() {
cd "$builddir"
phpize7
./configure --prefix=/usr \
--with-php-config=/usr/bin/php-config7
make
}
check() {
cd "$builddir"
make NO_INTERACTION=1 REPORT_EXIT_STATUS=1 test
}
package() {
cd "$builddir"
make INSTALL_ROOT="$pkgdir/" install
install -d "$pkgdir"/etc/php7/conf.d
echo "extension=$_pkgext.so" > "$pkgdir"/etc/php7/conf.d/$_pkgext.ini
}
sha512sums="1e42589b81f39272cf62a058e1ecd82532b076bebe583d13b797d448891ff615aedf1e990785fbba7302daa34a977bf748cf2deaaf4fd334af800a556849334c php7-tideways_xhprof-5.0_beta2.tar.gz"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment