diff options
-rw-r--r-- | main/php/APKBUILD | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/main/php/APKBUILD b/main/php/APKBUILD index 519bb03df7..c1c9cfb511 100644 --- a/main/php/APKBUILD +++ b/main/php/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Matt Smith <mcs@darkregion.net> pkgname=php pkgver=5.6.1 -pkgrel=0 +pkgrel=1 pkgdesc="The PHP language runtime engine" url="http://www.php.net/" arch="all" @@ -50,6 +50,8 @@ makedepends=" " subpackages="$pkgname-dbg $pkgname-dev $pkgname-doc $pkgname-common $pkgname-cgi $pkgname-cli $pkgname-fpm $pkgname-apache2 $pkgname-embed + $pkgname-phpdbg + $pkgname-pear $pkgname-bcmath $pkgname-bz2 @@ -153,6 +155,7 @@ build() { --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc/php \ + --localstatedir=/var \ --with-layout=GNU \ --with-config-file-path=/etc/php \ --with-config-file-scan-dir=/etc/php/conf.d \ @@ -246,6 +249,7 @@ build() { --enable-cli \ --with-pear \ --with-readline \ + --enable-phpdbg \ ${_phpextensions} \ || return 1 @@ -402,6 +406,12 @@ pear() { "$subpkgdir"/usr/share/ || return 1 } +phpdbg() { + pkgdesc="Interactive PHP debugger" + mkdir -p "$subpkgdir"/usr/bin + mv "$pkgdir"/usr/bin/phpdbg "$subpkgdir"/usr/bin/ +} + _mv_ext() { local ext=$1 local ini=$ext.ini |