blob: 98bc8844971ec60f85a98e66256681b72a058bf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug/xdebug-2.0.0_beta3.ebuild,v 1.1 2005/05/19 15:39:05 sebastian Exp $
PHP_EXT_ZENDEXT="yes"
PHP_EXT_PECL_PKG="xdebug"
PHP_EXT_NAME="xdebug"
PHP_EXT_INI="yes"
PHP_EXT_PECL_FILENAME=""
inherit php-ext-pecl
IUSE="libedit"
DESCRIPTION="A PHP Debugging and Profiling extension."
HOMEPAGE="http://xdebug.org/"
MY_P="${P/_/}"
S="${WORKDIR}/${MY_P}"
SRC_URI="http://pecl.php.net/get/${MY_P}.tgz"
SLOT="0"
LICENSE="Xdebug"
KEYWORDS="~x86 ~sparc ~ppc"
DEPEND="${DEPEND}
libedit? ( dev-libs/libedit )"
src_compile() {
php-ext-pecl_src_compile
cd ${S}/debugclient
econf $(use_with libedit) || die
emake || die
}
src_install() {
php-ext-pecl_src_install
cd ${S}/debugclient
mv debugclient xdebug-client
dobin xdebug-client
}
|