Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-benchmarks/stress: stress-1.0.3.ebuild ChangeLog
Date: Fri, 26 Feb 2010 20:58:55
Message-Id: E1Nl7Gu-0008RU-1V@stork.gentoo.org
1 patrick 10/02/26 20:58:52
2
3 Modified: ChangeLog
4 Added: stress-1.0.3.ebuild
5 Log:
6 Bump
7 (Portage version: 2.2_rc63/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.43 app-benchmarks/stress/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/stress/ChangeLog?rev=1.43&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/stress/ChangeLog?rev=1.43&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/stress/ChangeLog?r1=1.42&r2=1.43
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v
19 retrieving revision 1.42
20 retrieving revision 1.43
21 diff -u -r1.42 -r1.43
22 --- ChangeLog 7 Jan 2010 04:01:04 -0000 1.42
23 +++ ChangeLog 26 Feb 2010 20:58:51 -0000 1.43
24 @@ -1,6 +1,11 @@
25 # ChangeLog for app-benchmarks/stress
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v 1.42 2010/01/07 04:01:04 josejx Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/ChangeLog,v 1.43 2010/02/26 20:58:51 patrick Exp $
29 +
30 +*stress-1.0.3 (26 Feb 2010)
31 +
32 + 26 Feb 2010; Patrick Lauer <patrick@g.o> +stress-1.0.3.ebuild:
33 + Bump
34
35 07 Jan 2010; Joseph Jezak <josejx@g.o> stress-1.0.1.ebuild:
36 Marked ppc stable for bug #296473.
37
38
39
40 1.1 app-benchmarks/stress/stress-1.0.3.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/stress/stress-1.0.3.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/stress/stress-1.0.3.ebuild?rev=1.1&content-type=text/plain
44
45 Index: stress-1.0.3.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/stress/stress-1.0.3.ebuild,v 1.1 2010/02/26 20:58:51 patrick Exp $
50
51 inherit autotools flag-o-matic
52
53 MY_P="${PN}-${PV/_/}"
54 S="${WORKDIR}/${MY_P}"
55 DESCRIPTION="Imposes stressful loads on different aspects of the system."
56 HOMEPAGE="http://weather.ou.edu/~apw/projects/stress"
57 SRC_URI="http://weather.ou.edu/~apw/projects/stress/${MY_P}.tar.gz"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="static"
63
64 DEPEND="sys-apps/help2man"
65 RDEPEND=""
66
67 src_unpack() {
68 unpack ${A}
69 cd "${S}"
70
71 # Force rebuild of the manpage.
72 rm -f doc/stress.1
73
74 # Honour Gentoo CFLAGS.
75 sed -i -e "/CFLAGS/s/-Werror//" \
76 -e "s/CFLAGS/AM_CFLAGS/" \
77 src/Makefile.am || die "sed cflags failed"
78
79 eautoreconf
80 }
81
82 src_compile() {
83 use static && append-ldflags -static
84 econf
85 emake || die "emake failed"
86 }
87
88 src_install() {
89 emake DESTDIR="${D}" install || die "emake install failed"
90 dodoc ChangeLog AUTHORS README
91 }