# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Replace, rename, and remove functions and classes." HOMEPAGE="http://pecl.php.net/package/runkit" ESVN_REPO_URI="http://svn.php.net/repository/pecl/runkit/trunk/" LICENSE="PHP" PHP_EXT_NAME="runkit" PHP_EXT_INI="yes" PHP_EXT_ZENDEXT="no" KEYWORDS="~x86 ~amd64" IUSE="+modify +super +phpsandbox" SLOT="0" DEPEND="dev-lang/php" EAPI=1 inherit php-ext-source-r1 subversion src_compile() { php-ext-source-r1_phpize my_conf="--enable-runkit \ $(use_enable modify runkit-modify) \ $(use_enable super runkit-super) \ $(use_enable phpsandbox runkit-sandbox)" php-ext-source-r1_src_compile emake || die "emake failed" } src_install() { php-ext-source-r1_src_install php-ext-source-r1_addtoinifiles 'runkit.superglobal' "''" php-ext-source-r1_addtoinifiles 'runkit.internal_override' "0" }