Mail archive
alpine-aports

[alpine-aports] [PATCH] testing/php-xdebug: install package as a zend extension

From: Luis Baroni <lcsbaroni_at_yahoo.com.br>
Date: Fri, 29 Apr 2016 19:10:24 +0000

---
 testing/php-xdebug/APKBUILD | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/testing/php-xdebug/APKBUILD b/testing/php-xdebug/APKBUILD
index ec2119f..5625ce0 100644
--- a/testing/php-xdebug/APKBUILD
+++ b/testing/php-xdebug/APKBUILD
_at_@ -1,10 +1,11 @@
-# Contributor: Valery Kartel <valery.kartel_at_gmail.com>
-# Maintainer: Valery Kartel <valery.kartel_at_gmail.com>
+# Contributor: Luis Baroni <luis.baroni_at_yahoo.com.br>
+# Maintainer: Luis Baroni <luis.baroni_at_yahoo.com.br>
 pkgname=php-xdebug
 _pkgreal=xdebug
+_pkgpath=/usr/lib/php/modules/
 pkgver=2.3.3
 _pkgver=${pkgver/_rc/RC}
-pkgrel=0
+pkgrel=1
 pkgdesc="PHP extension provides functions for function traces and profiling"
 url="http://pecl.php.net/package/$_pkgreal"
 arch="all"
_at_@ -29,7 +30,7 @@ package() {
 	cd "$_builddir"
 	make INSTALL_ROOT="$pkgdir/" install || return 1
 	install -d "$pkgdir"/etc/php/conf.d || return 1
-	echo "extension=$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
+	echo "zend_extension=$_pkgpath$_pkgreal.so" > "$pkgdir"/etc/php/conf.d/$_pkgreal.ini
 }
 
 md5sums="60e6fdf41840104a23debe16db15a2af  xdebug-2.3.3.tgz"
-- 
2.8.1
---
Unsubscribe:  alpine-aports+unsubscribe_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Fri Apr 29 2016 - 19:10:24 GMT