summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-benchmarks/lmbench/lmbench-3_alpha3.ebuild')
-rw-r--r--app-benchmarks/lmbench/lmbench-3_alpha3.ebuild59
1 files changed, 0 insertions, 59 deletions
diff --git a/app-benchmarks/lmbench/lmbench-3_alpha3.ebuild b/app-benchmarks/lmbench/lmbench-3_alpha3.ebuild
deleted file mode 100644
index e26ded7aae06..000000000000
--- a/app-benchmarks/lmbench/lmbench-3_alpha3.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/lmbench-3_alpha3.ebuild,v 1.2 2009/01/03 12:46:37 angelos Exp $
-
-inherit toolchain-funcs eutils
-
-MY_P=${P/0\._alpha/-a}
-DESCRIPTION="Suite of simple, portable benchmarks"
-HOMEPAGE="http://www.bitmover.com/lmbench/whatis_lmbench.html"
-SRC_URI="mirror://gentoo/lmbench-3.0-a3.tgz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc sparc x86"
-IUSE=""
-
-S="${WORKDIR}/lmbench-3.0-a3"
-
-src_unpack() {
- unpack ${A}
- epatch "${FILESDIR}"/lmbench-3.0_alpha3-qa.patch
-}
-
-src_compile() {
- 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:-O:\"${CFLAGS}\":" src/Makefile
-
- emake CC=$(tc-getCC) MAKE=make OS=`scripts/os` build || die "emake failed"
-}
-
-src_install() {
- cd src ; emake 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
-}