# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-php5/suhosin/suhosin-0.9.31.ebuild,v 1.2 2010/07/04 13:48:00 mabi Exp $ EAPI="2" PHP_EXT_NAME="suhosin" PHP_EXT_INI="yes" PHP_EXT_ZENDEXT="no" inherit php-ext-source-r1 KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 s390 sh sparc x86 ~x86-fbsd" DESCRIPTION="Suhosin is an advanced protection system for PHP installations." HOMEPAGE="http://www.suhosin.org/" SRC_URI="http://download.suhosin.org/${P}.tgz" LICENSE="PHP-3" SLOT="0" IUSE="" DEPEND="dev-lang/php[unicode]" RDEPEND="${DEPEND}" need_php_by_category src_install() { php-ext-source-r1_src_install dodoc-php CREDITS for inifile in ${PHPINIFILELIST} ; do insinto "${inifile/${PHP_EXT_NAME}.ini/}" insopts -m644 doins "suhosin.ini" done }