summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2011-06-03 08:43:26 +0200
committerAnthoine Bourgeois <anthoine.bourgeois@gmail.com>2011-06-03 08:43:26 +0200
commit1705d3792ab74b9d77c4b4b94a9254460d242a04 (patch)
treea4d65df36d832af8ddda0c674ec59983ce96f865 /app-benchmarks
parent+apitrace-1.0-r1.ebuild (diff)
downloadaluco-1705d3792ab74b9d77c4b4b94a9254460d242a04.tar.gz
aluco-1705d3792ab74b9d77c4b4b94a9254460d242a04.tar.bz2
aluco-1705d3792ab74b9d77c4b4b94a9254460d242a04.zip
+phoronix-test-suite-3.2.0_beta4.ebuild
Milestone 4: - pdf doc is removed.
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/phoronix-test-suite/Manifest2
-rw-r--r--app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta4.ebuild112
2 files changed, 114 insertions, 0 deletions
diff --git a/app-benchmarks/phoronix-test-suite/Manifest b/app-benchmarks/phoronix-test-suite/Manifest
index 13e6e8e..57be638 100644
--- a/app-benchmarks/phoronix-test-suite/Manifest
+++ b/app-benchmarks/phoronix-test-suite/Manifest
@@ -3,6 +3,7 @@ DIST phoronix-test-suite-3.0.1.tar.gz 429462 RMD160 d02921671dbb29606e76da751199
DIST phoronix-test-suite-3.2.0m1.tar.gz 431027 RMD160 867e84e412797d9f524b90e085c394d4bd9a8014 SHA1 526f2b23532af24516c66e7a046363fbc43b6546 SHA256 f761617e0d647d1c22924909ed570b33c4116c702a725d5a0f47dc1e71c0cb47
DIST phoronix-test-suite-3.2.0m2.tar.gz 432595 RMD160 165f4f98528b1bade69af3277e0fa8711f65daf3 SHA1 6632b1856a89961da12a1c406b11967b941573ad SHA256 f18b07517ce7fd490a6ec76e0f7f50e2e7f2f0b288ff550f70c07e10199e9d88
DIST phoronix-test-suite-3.2.0m3.tar.gz 437426 RMD160 65824190b240adb12d3df3030597fbda71bbf240 SHA1 6d7afa567fefa3f700308cb1264b505552716913 SHA256 117ff7c917106b719f681208e76a9a31e63f34c809430c186ce575cac08b8272
+DIST phoronix-test-suite-3.2.0m4.tar.gz 396873 RMD160 c93d149840e9c101347e4c7b0172daebcfdf8b23 SHA1 57d6297a6059c8f41fbcfcb066cb6e2ee7e338fd SHA256 41a28999284b8cbf0382f1c697211324f21dd08ae5dc1d18b38a1375aef764b1
EBUILD phoronix-test-suite-3.0.0.ebuild 1822 RMD160 e9b148ffe0434b9884a4e2d4b07d7823606d0096 SHA1 ec9e19e41ebdc65a3f52bfba2b93becab2998b02 SHA256 073d57705a245c55896cbe5c570968611c7f307d061cb3e3aff7998ba0f93ae6
EBUILD phoronix-test-suite-3.0.1-r1.ebuild 2273 RMD160 8067ac41faebdc6544f2a7b8d0605dc06f2d5d2d SHA1 4f6a00fa5f7cafdfa83e3094f9613d7a41a9ba36 SHA256 87ee0bfd6f4b1c44758576febff77bfae4b630961eb42a493985652dffa39dd0
EBUILD phoronix-test-suite-3.0.1.ebuild 2334 RMD160 01c356023775232d65dabc115c27fbb97ed45952 SHA1 bded3d6c4641d3a58c2cb3b2c9972ee6d5facc53 SHA256 8570a8e9fe1fa029bb5986fdd1a21b9280d606e042025d5f263e0b618c79494c
@@ -11,3 +12,4 @@ EBUILD phoronix-test-suite-3.2.0_beta2-r1.ebuild 3340 RMD160 f356d7732274b4f1a83
EBUILD phoronix-test-suite-3.2.0_beta2-r2.ebuild 3341 RMD160 abb9cf9cf8b1626d9be7d03670a207525b57fc91 SHA1 12b7acccafd3dbfda58f2639139c1d9d6ac50d67 SHA256 8ca2c2e627b1486e1045ac5c842975adfaa5dadacde09e73010473f482c19b01
EBUILD phoronix-test-suite-3.2.0_beta2.ebuild 2179 RMD160 605df0c6a1553054561a79571aa384500714999b SHA1 3817d0e0449972a176637b6f46e7a5b263fbba0f SHA256 d0c6bccc4d089141e9dd0e73901982cd539aaa603b90ba2aad035f157405b5f4
EBUILD phoronix-test-suite-3.2.0_beta3.ebuild 3553 RMD160 3abfaae957b3b2a48edba6f76e99c320ba0d7231 SHA1 ffae660feeeb62c5b7c387bf646c03775370c9ae SHA256 90f82ab19b9a6f4e56ac24f93f2a6dc9ae5601cc3384b32ccca404daaa0110c7
+EBUILD phoronix-test-suite-3.2.0_beta4.ebuild 3479 RMD160 8df77e35fdc442f70d2dbb0f4260375246d914e0 SHA1 649b2b8a22d9c9af7fa45632db804905382e09f8 SHA256 9491ec157088f3a4dd06c3b43a32848b890bed6fa9351bdb23d6c08da0f07aba
diff --git a/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta4.ebuild b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta4.ebuild
new file mode 100644
index 0000000..032c8cb
--- /dev/null
+++ b/app-benchmarks/phoronix-test-suite/phoronix-test-suite-3.2.0_beta4.ebuild
@@ -0,0 +1,112 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit eutils bash-completion
+
+DESCRIPTION="Phoronix's comprehensive, cross-platform testing and benchmark suite"
+HOMEPAGE="http://www.phoronix-test-suite.com"
+MY_PV="${PN}-3.2.0m4"
+SRC_URI="http://www.phoronix-test-suite.com/download.php?file=development/${MY_PV} -> ${MY_PV}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND=""
+
+# php 5.3 doesn't have pcre and reflection useflags anymore
+RDEPEND="( || ( dev-lang/php:5.3[cli,curl,gd,posix,pcntl,truetype,zip] dev-lang/php:5.2[cli,curl,gd,posix,pcntl,reflection,truetype,pcre,zip] ) )
+ dev-php5/pecl-ps"
+
+S="${WORKDIR}/${PN}"
+
+src_prepare() {
+ sed -i -e "s,export PTS_DIR=\`pwd\`,export PTS_DIR=\"/usr/share/${PN}\"," \
+ phoronix-test-suite
+}
+
+src_configure() {
+ :
+}
+
+src_compile() {
+ :
+}
+
+src_install() {
+ dodir /usr/share/${PN}
+ insinto /usr/share/${PN}
+
+ doman documentation/man-pages/phoronix-test-suite.1
+ dodoc AUTHORS CHANGE-LOG COPYING
+ dohtml -r documentation/
+ doicon pts-core/static/images/phoronix-test-suite.png
+ doicon pts-core/static/images/openbenchmarking.png
+ domenu pts-core/static/phoronix-test-suite.desktop
+ rm -f pts-core/static/phoronix-test-suite.desktop
+
+ doins -r pts-core
+ exeinto /usr/bin
+ doexe phoronix-test-suite
+
+ #fperms a+x /usr/share/${PN}/pts/test-resources/*/*.sh
+ #fperms a+x /usr/share/${PN}/pts/base-test-resources/*/*.sh
+ #fperms a+x /usr/share/${PN}/pts-core/modules/*.sh
+ #fperms a+x /usr/share/${PN}/pts-core/test-libraries/*.sh
+ fperms a+x /usr/share/${PN}/pts-core/static/scripts/root-access.sh
+ fperms a+x /usr/share/${PN}/pts-core/external-test-dependencies/scripts/install-gentoo-packages.sh
+
+ dobashcompletion pts-core/static/bash_completion ${PN}
+
+ # Need to fix the cli-php config for downloading to work. Very naughty!
+ local slots
+ local slot
+ if [[ "x${PHP_TARGETS}" == "x" ]] ; then
+ ewarn
+ ewarn "PHP_TARGETS seems empty, php.ini file can't be configure."
+ ewarn "Make sure that PHP_TARGETS in /etc/make.conf is set."
+ ewarn
+ else
+ for slot in ${PHP_TARGETS}; do
+ slots+=" ${slot/-/.}"
+ done
+ fi
+
+ for slot in ${slots}; do
+ local PHP_INI_FILE="/etc/php/cli-${slot}/php.ini"
+ if [[ -f ${PHP_INI_FILE} ]] ; then
+ dodir $(dirname ${PHP_INI_FILE})
+ cp ${PHP_INI_FILE} "${D}${PHP_INI_FILE}"
+ sed -e 's|^allow_url_fopen .*|allow_url_fopen = On|g' -i "${D}${PHP_INI_FILE}"
+ else
+ if [[ "x$(eselect php show cli)" == "x${slot}" ]] ; then
+ ewarn
+ ewarn "${slot} hasn't a php.ini file."
+ ewarn "phoronix-test-suite needs the allow_url_fopen option set to \"On\""
+ ewarn "for downloading to work properly."
+ ewarn "Check that your PHP_INI_VERSION is set during ${slot} merge"
+ ewarn
+ else
+ elog
+ elog "${slot} hasn't a php.ini file."
+ elog "phoronix-test-suite may need the allow_url_fopen option set to \"On\""
+ elog "for downloading to work properly if you switch to ${slot}"
+ elog "Check that your PHP_INI_VERSION is set during ${slot} merge"
+ elog
+ fi
+ fi
+ done
+
+ ewarn
+ ewarn "If you upgrade from phoronix-test-suite-2*, you should reinstall all"
+ ewarn "your tests because"
+ ewarn " \$HOME/.phoronix-test-suite/installed-tests/\$TEST_NAME/"
+ ewarn "moves to"
+ ewarn " \$HOME/.phoronix-test-suite/installed-tests/pts/\$TEST_NAME-\$TEST_VERSION/"
+ ewarn "in phoronix-test-suite-3* version. The \$TEST_VERSION can be find in"
+ ewarn "pts-install.xml file."
+ ewarn
+}