# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-php/simpletest/simpletest-1.0.1.ebuild,v 1.1 2008/08/07 11:10:51 hoffie Exp $

inherit php-lib-r1 depend.php

KEYWORDS="~amd64 ~x86"

DESCRIPTION="A PHP testing framework."
HOMEPAGE="http://www.lastcraft.com/simple_test.php"
SRC_URI="mirror://sourceforge/simpletest/${PN}_${PV/_/}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
IUSE=""

DEPEND=""
RDEPEND=""

S="${WORKDIR}/${PN}"

need_php_by_category

src_install() {
	dodoc-php [[:upper:]]*
	rm -f [[:upper:]]*
	insinto /usr/share/doc/${CATEGORY}/${PF}
	doins -r docs/
	rm -rf docs/

	php-lib-r1_src_install . `find . -type f -print`
}