1 # Contributor: Chris Allison <chris.allison@hotmail.com>
5 pkgdesc="A full-featured php debugger"
7 url="http://www.php-debugger.com/dbg/"
10 install=${pkgname}.install
12 source=(http://downloads.sourceforge.net/sourceforge/dbg2/$pkgname-$pkgver.tar.gz)
13 md5sums=('1183c5d87635adf77b416787e4916965')
16 cd "$srcdir/$pkgname-$pkgver"
18 # patch -Np1 -i ../dvbstreamer-1.1-epgtoxmltv-seriesid.patch || return 1
20 ./configure --prefix=/usr/lib/php/20060613 --with-dbg-profiler --with-php-config=/usr/bin/php-config --enable-dbg=shared
23 chmod +x "$srcdir/$pkgname-$pkgver/build/shtool"
25 make INSTALL_ROOT="$pkgdir" install
28 mkdir -p "$pkgdir/usr/share/licenses/common/DBG"
29 cp "$srcdir/$pkgname-$pkgver/COPYING" "$pkgdir/usr/share/licenses/common/DBG/licence.txt"
30 chmod 644 "$pkgdir/usr/share/licenses/common/DBG/licence.txt"
32 # install INSTALL file for user configuration steps
33 mkdir -p "$pkgdir/usr/share/DBG/"
34 cp "$srcdir/$pkgname-$pkgver/INSTALL" "$pkgdir/usr/share/DBG/INSTALL"
35 chmod 644 "$pkgdir/usr/share/DBG/INSTALL"
38 # vim:set ts=2 sw=2 et: