void-packages/srcpkgs/phoronix-test-suite/template

21 lines
770 B
Bash

# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
version=6.6.0
revision=1
wrksrc="${pkgname}"
noarch="yes"
depends="php"
short_desc="The most comprehensive testing and benchmarking platform available for Linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
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=e4c10a4f45ac022160137f164910d68fd780ab3caaaf0d0d3f592e6e4cde1c35
do_install() {
sed -e "s/^export PTS_DIR=.*/export PTS_DIR=\/usr\/share\/webapps\/${pkgname}/g" -i phoronix-test-suite
vbin phoronix-test-suite
vmkdir usr/share/webapps/${pkgname}/pts-core
vcopy "pts-core/*" usr/share/webapps/${pkgname}/pts-core
}