diff --git a/srcpkgs/phoronix-test-suite/template b/srcpkgs/phoronix-test-suite/template new file mode 100644 index 0000000000..8f5b9cc071 --- /dev/null +++ b/srcpkgs/phoronix-test-suite/template @@ -0,0 +1,27 @@ +# Template file for 'phoronix-test-suite' +pkgname=phoronix-test-suite +version=4.8.4 +revision=1 +wrksrc="${pkgname}" +makedepends="php" +short_desc="The most comprehensive testing and benchmarking platform available for Linux" +maintainer="Juan RP " +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=113e6c725672c1f379885575e7cd51a3d0a387dc1c842606840e27fcd4695e43 + +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 +} + +phoronix-test-suite_package() { + noarch="yes" + depends="php" + pkg_install() { + vmove all + } +}