void-packages/srcpkgs/phoronix-test-suite/template
2015-04-11 08:12:48 +02:00

20 lines
786 B
Bash

# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
version=5.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=218b44339cfd019cd71716c16d41e7dd1e9f132ef2a9020cdf5ff1969226a36c
do_install() {
sed -e "s/^export PTS_DIR=.*/export PTS_DIR=\/usr\/share\/webapps\/${pkgname}/g" -i phoronix-test-suite
vinstall phoronix-test-suite 755 usr/bin
vmkdir usr/share/webapps/${pkgname}/pts-core
vcopy "pts-core/*" usr/share/webapps/${pkgname}/pts-core
}