# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ # TODO: # * add installation of new documenation (README.html and documentation/ ) EGIT_REPO_URI="http://www.phorogit.com/repo/phoronix-test-suite.git" inherit eutils depend.php git DESCRIPTION="Comprehensive testing and benchmarking platform" HOMEPAGE="http://phoronix-test-suite.com" SRC_URI="" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="" RDEPEND="sys-process/time" need_php_cli pkg_setup() { has_php require_php_with_use cli gd } src_unpack() { git_src_unpack cd ${S} sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," ${PN} } src_install() { dodir /usr/share/${PN} insinto /usr/share/${PN} exeinto /usr/bin doins -r ${S}/pts{,-core} || die "Install failed!" fperms 755 /usr/share/${PN}/pts/launch-browser.sh doexe phoronix-test-suite || die "Installing the executable failed!" dodoc CHANGE-LOG }