summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2013-06-03 19:23:21 +0000
committerTim Harder <radhermit@gentoo.org>2013-06-03 19:23:21 +0000
commit664bc40f65d158de62c6157371a37e78a216ccd9 (patch)
tree192a2f8db50e5ae1573760a335639eeb6828836c /app-benchmarks
parentBump to 4.0 finel release, drop RC2. (diff)
downloadgentoo-2-664bc40f65d158de62c6157371a37e78a216ccd9.tar.gz
gentoo-2-664bc40f65d158de62c6157371a37e78a216ccd9.tar.bz2
gentoo-2-664bc40f65d158de62c6157371a37e78a216ccd9.zip
Update to EAPI 4 and remove old, unnecessary workarounds.
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
Diffstat (limited to 'app-benchmarks')
-rw-r--r--app-benchmarks/stress/ChangeLog7
-rw-r--r--app-benchmarks/stress/stress-1.0.4.ebuild38
2 files changed, 13 insertions, 32 deletions
diff --git a/app-benchmarks/stress/ChangeLog b/app-benchmarks/stress/ChangeLog
index f1015aa8ab7b..0732b5a7bce8 100644
--- a/app-benchmarks/stress/ChangeLog
+++ b/app-benchmarks/stress/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-benchmarks/stress
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v 1.47 2011/12/18 20:14:08 phajdan.jr Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v 1.48 2013/06/03 19:23:21 radhermit Exp $
+
+ 03 Jun 2013; Tim Harder <radhermit@gentoo.org> stress-1.0.4.ebuild:
+ Update to EAPI 4 and remove old, unnecessary workarounds.
18 Dec 2011; Pawel Hajdan jr <phajdan.jr@gentoo.org> stress-1.0.4.ebuild:
x86 stable wrt bug #393701
diff --git a/app-benchmarks/stress/stress-1.0.4.ebuild b/app-benchmarks/stress/stress-1.0.4.ebuild
index 2dff9ddfdd0e..c2aa7068fc43 100644
--- a/app-benchmarks/stress/stress-1.0.4.ebuild
+++ b/app-benchmarks/stress/stress-1.0.4.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild,v 1.3 2011/12/18 20:14:08 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/stress-1.0.4.ebuild,v 1.4 2013/06/03 19:23:21 radhermit Exp $
-inherit autotools flag-o-matic
+EAPI=4
-MY_P="${PN}-${PV/_/}"
-S="${WORKDIR}/${MY_P}"
+inherit flag-o-matic
+
+MY_P=${PN}-${PV/_/}
DESCRIPTION="Imposes stressful loads on different aspects of the system."
HOMEPAGE="http://weather.ou.edu/~apw/projects/stress"
SRC_URI="http://weather.ou.edu/~apw/projects/stress/${MY_P}.tar.gz"
@@ -15,31 +16,8 @@ SLOT="0"
KEYWORDS="amd64 ~arm ~mips ~ppc ~ppc64 ~sparc x86"
IUSE="static"
-DEPEND="sys-apps/help2man"
-RDEPEND=""
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- # Force rebuild of the manpage.
- rm -f doc/stress.1
-
- # Honour Gentoo CFLAGS.
- sed -i -e "/CFLAGS/s/-Werror//" \
- -e "s/CFLAGS/AM_CFLAGS/" \
- src/Makefile.am || die "sed cflags failed"
+S=${WORKDIR}/${MY_P}
- eautoreconf
-}
-
-src_compile() {
+src_prepare() {
use static && append-ldflags -static
- econf
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc ChangeLog AUTHORS README
}