diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/xdebug | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/xdebug')
-rw-r--r-- | community/xdebug/PKGBUILD | 41 | ||||
-rw-r--r-- | community/xdebug/xdebug.ini | 5 |
2 files changed, 46 insertions, 0 deletions
diff --git a/community/xdebug/PKGBUILD b/community/xdebug/PKGBUILD new file mode 100644 index 000000000..34050cc83 --- /dev/null +++ b/community/xdebug/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 94986 2013-08-02 13:00:08Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Jonathan Wiersma <arch aur at jonw dot org> +# Contributor: Jonathan Wiersma <arch aur at jonw dot org> +# Contributor: sracker <smb.sac@gmail.com> + +pkgname=xdebug +pkgver=2.2.3 +pkgrel=2 +pkgdesc="PHP debugging extension" +arch=('i686' 'x86_64') +url="http://www.xdebug.org" +license=('GPL') +depends=('php') +backup=('etc/php/conf.d/xdebug.ini') +source=(http://www.xdebug.org/files/$pkgname-$pkgver.tgz + xdebug.ini) +md5sums=('e49cec9861b45dc0b36eae33bf8a14fa' + '6a1f2ef91c632d4c9b7b218cd2e278ef') + +build() { + cd $srcdir/$pkgname-$pkgver + phpize + ./configure --prefix=/usr --enable-xdebug + make + + cd debugclient + ./configure --prefix=/usr + make +} + +package() { + local PHPVER=`php -r 'echo phpversion();'` + + cd $srcdir/$pkgname-$pkgver/debugclient + make DESTDIR=$pkgdir install + + cd $srcdir/$pkgname-$pkgver + make INSTALL_ROOT=$pkgdir install + install -D -m 644 $srcdir/xdebug.ini $pkgdir/etc/php/conf.d/xdebug.ini +} diff --git a/community/xdebug/xdebug.ini b/community/xdebug/xdebug.ini new file mode 100644 index 000000000..9062dfc8b --- /dev/null +++ b/community/xdebug/xdebug.ini @@ -0,0 +1,5 @@ +;zend_extension=/usr/lib/php/modules/xdebug.so +;xdebug.remote_enable=on +;xdebug.remote_host=127.0.0.1 +;xdebug.remote_port=9000 +;xdebug.remote_handler=dbgp |