summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <smitdane@gmail.com>2010-07-16 21:45:06 -0400
committerDane Smith <smitdane@gmail.com>2010-07-16 21:45:06 -0400
commite3d40e6d354fbdd02123c17ae37750134877f29d (patch)
tree09d768bb16d241123eda9802445eb9c14c2bf716 /app-benchmarks/ramspeed
downloadsmithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.tar.gz
smithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.tar.bz2
smithdanea-e3d40e6d354fbdd02123c17ae37750134877f29d.zip
Intial commit for my public overlay.
All working projects.
Diffstat (limited to 'app-benchmarks/ramspeed')
-rw-r--r--app-benchmarks/ramspeed/ChangeLog11
-rw-r--r--app-benchmarks/ramspeed/Manifest4
-rw-r--r--app-benchmarks/ramspeed/metadata.xml6
-rw-r--r--app-benchmarks/ramspeed/ramspeed-2.6.0.ebuild48
4 files changed, 69 insertions, 0 deletions
diff --git a/app-benchmarks/ramspeed/ChangeLog b/app-benchmarks/ramspeed/ChangeLog
new file mode 100644
index 0000000..92b5ff2
--- /dev/null
+++ b/app-benchmarks/ramspeed/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for app-benchmarks/ramspeed
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ramspeed/ChangeLog,v 1.1 2010/07/14 14:43:34 hwoarang Exp $
+
+*ramspeed-2.6.0 (14 Jul 2010)
+
+ 14 Jul 2010; Markos Chandras <hwoarang@gentoo.org> +ramspeed-2.6.0.ebuild,
+ +metadata.xml:
+ Moved from sunrise overlay. Fixes bug #304101. Thanks to Dane Smith
+ <smithdanea@gmail.com> for the ebuild. He will proxy-maintain this one
+
diff --git a/app-benchmarks/ramspeed/Manifest b/app-benchmarks/ramspeed/Manifest
new file mode 100644
index 0000000..37d4323
--- /dev/null
+++ b/app-benchmarks/ramspeed/Manifest
@@ -0,0 +1,4 @@
+DIST ramspeed-2.6.0.tar.gz 77531 RMD160 997c437c359d3f9f9264768e64584e7c430e8d3a SHA1 8f071abc0b654785eafab37edd59a085e8add789 SHA256 f84e2e42b2b6b221ef9b586f6ae63d863db4ff21858e0ce7c84622a7c9522950
+EBUILD ramspeed-2.6.0-r1.ebuild 1051 RMD160 2780ce084a8c518a53d4cd49688399ab0ad1f099 SHA1 98e0b205909c388460d7178babe7489e2526ce83 SHA256 35412349994723dc679483d376afe475a0edfb5f77df56215cf11bff3a4d0c6c
+EBUILD ramspeed-2.6.0.ebuild 547 RMD160 8f2f4669d4d201cc51d1f71b5864dd7a826a4d9f SHA1 6f6190637860945c9427febbda2deaa208b5079b SHA256 428ceff957788432a33c2e0b263932855cc1ab6ecd17045534d183209a570942
+MISC metadata.xml 229 RMD160 f0f6417bec31ce8baba6d476664f7210c8c84c98 SHA1 e5f94f5caadc6f843fc90bb7959570cd503676fd SHA256 3b08fca3c878bdfc4e7639f477dd542d55a4ab5dce39a475e82633071d13eb3f
diff --git a/app-benchmarks/ramspeed/metadata.xml b/app-benchmarks/ramspeed/metadata.xml
new file mode 100644
index 0000000..e6233b5
--- /dev/null
+++ b/app-benchmarks/ramspeed/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer><email>maintainer-wanted@gentoo.org</email></maintainer>
+</pkgmetadata>
diff --git a/app-benchmarks/ramspeed/ramspeed-2.6.0.ebuild b/app-benchmarks/ramspeed/ramspeed-2.6.0.ebuild
new file mode 100644
index 0000000..941bf4e
--- /dev/null
+++ b/app-benchmarks/ramspeed/ramspeed-2.6.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=2
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="Benchmarking for memory and cache"
+HOMEPAGE="http://www.alasir.com/software/ramspeed/"
+SRC_URI="http://www.alasir.com/software/${PN}/${P}.tar.gz"
+
+LICENSE="Alasir"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="sse"
+
+src_prepare(){
+ tc-export CC AS
+}
+
+src_configure(){
+ local obj
+ local arch_prefix=./
+
+ use x86 && arch_prefix=i386/
+ use amd64 && arch_prefix=amd64/
+
+ append-ldflags -Wl,-z,noexecstack
+
+ obj=( ramspeed.o ${arch_prefix}{fltmark,fltmem,intmark,intmem}.o )
+
+ if use x86; then
+ obj=( "${obj[@]}" ${arch_prefix}{cpuinfo/cpuinfo_main,cpuinfo/cpuinfo_ext}.o )
+ fi
+
+ if use sse; then
+ use x86 && append-flags "-DLINUX -DI386_ASM"
+ use amd64 && append-flags "-DLINUX -DAMD64_ASM"
+ obj=( "${obj[@]}" ${arch_prefix}{mmxmark,mmxmem,ssemark,ssemem}.o )
+ fi
+
+ echo "ramspeed: ${obj[@]}" > Makefile || die
+}
+
+src_install(){
+ dobin ${PN} || die
+ dodoc HISTORY README || die
+}