aboutsummaryrefslogtreecommitdiffstats
path: root/main/php
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-10-16 12:18:32 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-10-16 13:57:24 +0000
commit281586fb2c30262a2127ef487608afed93b35d85 (patch)
treecd39fe34341590d46ee681deea701a3f9fca2eb3 /main/php
parent1c26c4623cd4695040d6ae1918ff4a13fe173f10 (diff)
downloadaports-281586fb2c30262a2127ef487608afed93b35d85.tar.bz2
aports-281586fb2c30262a2127ef487608afed93b35d85.tar.xz
main/php: build phpdbg
fixes #2683
Diffstat (limited to 'main/php')
-rw-r--r--main/php/APKBUILD12
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