# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ PHP_EXT_NAME="html_parse" PHP_EXT_PECL_PKG="html_parse" PHP_EXT_INI="yes" PHP_EXT_ZENDEXT="no" DOCS="CREDITS" inherit php-ext-pecl-r1 confutils DESCRIPTION="HTML parser extension based on the ekhtml library (http://ekhtml.sourceforge.net/)" LICENSE="PHP" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND="dev-libs/ekhtml" RDEPEND="${DEPEND}" need_php_by_category pkg_setup() { has_php require_php_sapi_from cgi apache2 } src_compile() { has_php php-ext-pecl-r1_src_compile } src_install() { php-ext-pecl-r1_src_install dodir "${PHP_EXT_SHARED_DIR}" insinto "${PHP_EXT_SHARED_DIR}" }