# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
version=5.0.1
revision=1
wrksrc="${pkgname}"
noarch="yes"
makedepends="php"
depends="php"
short_desc="The most comprehensive testing and benchmarking platform available for Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.phoronix-test-suite.com/"
distfiles="http://www.phoronix.net/downloads/phoronix-test-suite/releases/${pkgname}-${version}.tar.gz"
checksum=c4a0a6283998da5a6f5248a5c093da6ab22b15a8f302b24d9f2a526c73054eb4

do_install() {
	sed -e "s/^export PTS_DIR=.*/export PTS_DIR=\/usr\/share\/${pkgname}/g" -i phoronix-test-suite
	vinstall phoronix-test-suite 755 usr/bin
	vmkdir usr/share/${pkgname}/pts-core
	vcopy "pts-core/*" usr/share/${pkgname}/pts-core
}
