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

22 lines
804 B
Bash
Raw Normal View History

# Template file for 'phoronix-test-suite'
pkgname=phoronix-test-suite
2014-12-23 19:22:58 +00:00
version=5.4.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@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"
2014-12-23 19:22:58 +00:00
checksum=51a78780a9219acd2f382c4b76529521b538de291778c0de283d52d4ebc9abd3
do_install() {
2014-10-01 12:26:16 +00:00
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
2014-10-01 12:26:16 +00:00
vmkdir usr/share/webapps/${pkgname}/pts-core
vcopy "pts-core/*" usr/share/webapps/${pkgname}/pts-core
}