summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2008-05-03 01:04:06 +0000
committerDaniel Black <dragonheart@gentoo.org>2008-05-03 01:04:06 +0000
commit04bb322f86d0c920050755ee7499cbd7194f6150 (patch)
tree4f3b4b8ec984010c46e5e41d55adcfdc83f14206 /app-benchmarks
parentcleaned out 0.36 version. Fixed boost depend in 0.35 (stable) so it is not a ... (diff)
downloadhistorical-04bb322f86d0c920050755ee7499cbd7194f6150.tar.gz
historical-04bb322f86d0c920050755ee7499cbd7194f6150.tar.bz2
historical-04bb322f86d0c920050755ee7499cbd7194f6150.zip
version bump as per bug #214229 - thanks Auke Booij
Package-Manager: portage-2.1.5_rc6
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/lmbench/ChangeLog7
-rw-r--r--app-benchmarks/lmbench/Manifest4
-rw-r--r--app-benchmarks/lmbench/lmbench-3.ebuild62
3 files changed, 71 insertions, 2 deletions
diff --git a/app-benchmarks/lmbench/ChangeLog b/app-benchmarks/lmbench/ChangeLog
index e649a27817e1..e17afa849540 100644
--- a/app-benchmarks/lmbench/ChangeLog
+++ b/app-benchmarks/lmbench/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-benchmarks/lmbench
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/ChangeLog,v 1.14 2008/05/02 23:22:07 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/ChangeLog,v 1.15 2008/05/03 01:04:06 dragonheart Exp $
+
+*lmbench-3 (03 May 2008)
+
+ 03 May 2008; Daniel Black <dragonheart@gentoo.org> +lmbench-3.ebuild:
+ version bump as per bug #214229 - thanks Auke Booij
02 May 2008; Daniel Black <dragonheart@gentoo.org>
+files/lmbench-3.0_alpha3-qa.patch, lmbench-3.0_alpha3.ebuild:
diff --git a/app-benchmarks/lmbench/Manifest b/app-benchmarks/lmbench/Manifest
index 4b032d214aad..34a9f7b9f7b4 100644
--- a/app-benchmarks/lmbench/Manifest
+++ b/app-benchmarks/lmbench/Manifest
@@ -2,6 +2,8 @@ AUX bc-config 646 RMD160 b04d340b19b6e4c33db962e05e4c387a16ad6d0f SHA1 d69df9336
AUX bc_lm.pl 3196 RMD160 4bb880e84a474aac816d9172a401b568bd80dbfa SHA1 a4fe87118194c9347337db908ffbc8dd556f0b94 SHA256 b993b85c5af07bd2294036a006a03f72342717aa6f310e80ed5770f1ce071afe
AUX lmbench-3.0_alpha3-qa.patch 296 RMD160 e8d452a092cc4753778d67396624c3af6a78edd3 SHA1 9e20acc808bb0b505ad42b6a32fe29e4618dc2e5 SHA256 da2db90c6c784d5f9be044e137a6b3b079bc4b0a20d4058a8a4e6c95fae0036f
DIST lmbench-3.0-a3.tgz 1159027 RMD160 8b13422b89f77e8ff8a7d6b46d13cd45fa40e38c SHA1 49dc8022cf2a409885b6d969f65f121f13a87505 SHA256 7d3903f25d5b22d3630b79c868ed7fb9578da5f5a54a28795dd6a49573c2410f
+DIST lmbench3.tar.gz 411874 RMD160 902737765cb28f73d739b2b246a85ebb8e0f09b4 SHA1 9527e72ed0d0b61d1ff6706562d401dd29b9ad4e SHA256 5265013bfde00d74866e80ebc17ce5f6ef9f30cb724191c12e5387003a268003
EBUILD lmbench-3.0_alpha3.ebuild 1558 RMD160 3e91d831d54b08c9cded72a86a2f0de7446bfbba SHA1 7e6cfe1d30a8bbdf0138b50a2c36085e8bec5fb9 SHA256 3f70524c93600a927063c87156081e3d36a48e9fe1d51995de83bd12c32e4957
-MISC ChangeLog 1753 RMD160 1d050361c6260d4f1e320e4f6ff1e5c1a862c293 SHA1 2bd2d3fbbc101b9caf25f92a598441be7b7c2546 SHA256 17d695605ae006d33236c06676365197c72cb7dcba21fa4943afb27beecee781
+EBUILD lmbench-3.ebuild 1656 RMD160 227d66e764347833401fa435c42e898101a6a8e6 SHA1 798db92502060185b043a2bef721a55359d04637 SHA256 589cda7d93893b380789c67ea8744149fc8551843fc2b3f656a6f1e90975d580
+MISC ChangeLog 1906 RMD160 3c15fb6c85bb2376d1eda83777a64f3470f8ca2c SHA1 7b7da5834e5eb4c96971710dec2fb3a11d3bf045 SHA256 4b621692fa7a5dece26f4c6933a8a6678ebbd50ab114039e2b9a6c1d0c324d40
MISC metadata.xml 412 RMD160 b7b57b44cbf476a3ec04af997c7077a23ae4bfe9 SHA1 8129e18a893c8e62aa9e7f58662134c27102d8a3 SHA256 84cc2d4168174cfea7e19c957b3bbef3a6bd00289d19a34c7c4394554dfa141e
diff --git a/app-benchmarks/lmbench/lmbench-3.ebuild b/app-benchmarks/lmbench/lmbench-3.ebuild
new file mode 100644
index 000000000000..aeb123f88249
--- /dev/null
+++ b/app-benchmarks/lmbench/lmbench-3.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/lmbench-3.ebuild,v 1.1 2008/05/03 01:04:06 dragonheart Exp $
+
+inherit toolchain-funcs eutils
+
+MY_P=${PN}${PV}
+DESCRIPTION="Suite of simple, portable benchmarks"
+HOMEPAGE="http://www.bitmover.com/lmbench/whatis_lmbench.html"
+SRC_URI="http://www.bitmover.com/lmbench/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+IUSE=""
+
+DEPEND="virtual/libc"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-3.0_alpha3-qa.patch
+ sed -e "s#^my \$distro =.*#my \$distro = \"`uname -r`\";#" \
+ -e 's#^@files =#chdir "/usr/share/lmbench"; @files =#' \
+ -e "s#../../CONFIG#/etc/bc-config#g" "${FILESDIR}"/bc_lm.pl > bc_lm.pl
+ sed -i -e "s/^\(bk.ver:\).*/\1/" src/Makefile
+ touch src/bk.ver
+}
+
+src_compile() {
+ emake CC=$(tc-getCC) MAKE=make OS=`scripts/os` build || die
+}
+
+src_install() {
+ cd src ; make BASE="${D}"/usr install || die
+
+ dodir /usr/share
+ mv "${D}"/usr/man "${D}"/usr/share
+
+ cd "${S}"
+ exeinto /usr/bin
+ doexe "${S}"/bc_lm.pl
+ mv "${D}"/usr/bin/stream "${D}"/usr/bin/stream.lmbench
+
+ insinto /etc
+ doins "${FILESDIR}"/bc-config
+
+ dodir /usr/share/lmbench
+ dodir /usr/share/lmbench/src
+ cp src/webpage-lm.tar "${D}"/usr/share/lmbench/src
+ cp -R scripts "${D}"/usr/share/lmbench
+
+ dodir /usr/share/lmbench/results
+ chmod 777 ${D}/usr/share/lmbench/results
+ dodir /usr/share/lmbench/bin
+ chmod 777 ${D}/usr/share/lmbench/bin
+
+ # avoid file collision with sys-apps/util-linux
+ mv ${D}/usr/bin/line ${D}/usr/bin/line.lmbench
+}