# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Comprehensive testing and benchmarking platform" HOMEPAGE="http://phoronix-test-suite.com" SRC_URI="http://www.phoronix-test-suite.com/releases/${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~x86" IUSE="" DEPEND=">=dev-lang/php-5.2.6_rc3" RDEPEND="${DEPEND}" pkg_setup() { if ! built_with_use dev-lang/php posix; then eerror "phoronix-test-suite needs php built with posix support" eerror "Please re-emerge dev-lang/php with the 'posix' USE flag" die "Missing posix USE flag for dev-lang/php" fi } src_install() { dodir /usr/share/${PN} insinto /usr/share/${PN} doins -r "${WORKDIR}" || die "Install failed!" }