diff options
Diffstat (limited to 'dev-php/xdebug-client/xdebug-client-2.1.3.ebuild')
-rw-r--r-- | dev-php/xdebug-client/xdebug-client-2.1.3.ebuild | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/dev-php/xdebug-client/xdebug-client-2.1.3.ebuild b/dev-php/xdebug-client/xdebug-client-2.1.3.ebuild new file mode 100644 index 000000000000..d83e2a8f15bd --- /dev/null +++ b/dev-php/xdebug-client/xdebug-client-2.1.3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-php/xdebug-client/xdebug-client-2.1.3.ebuild,v 1.1 2012/01/27 13:38:12 olemarkus Exp $ + +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +MY_PV="${PV/_/}" +MY_PV="${MY_PV/rc/RC}" + +DESCRIPTION="Xdebug client for the Common Debugger Protocol (DBGP)." +HOMEPAGE="http://www.xdebug.org/" +SRC_URI="http://pecl.php.net/get/xdebug-${MY_PV}.tgz" +LICENSE="Xdebug" +SLOT="0" +IUSE="libedit" + +S="${WORKDIR}/xdebug-${MY_PV}/debugclient" + +DEPEND="libedit? ( dev-libs/libedit )" +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + chmod +x "${S}"/configure +} + +src_compile() { + econf $(use_with libedit) --disable-dependency-tracking + emake || die "Build of debug client failed!" +} + +src_install() { + newbin debugclient xdebug +} |