From: | "Daniel Black (dragonheart)" <dragonheart@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-benchmarks/lmbench: ChangeLog lmbench-3.ebuild |
Date: | Sat, 03 May 2008 01:04:09 |
Message-Id: | E1Js6AY-0001Le-Ql@stork.gentoo.org |
1 | dragonheart 08/05/03 01:04:06 |
2 | |
3 | Modified: ChangeLog |
4 | Added: lmbench-3.ebuild |
5 | Log: |
6 | version bump as per bug #214229 - thanks Auke Booij |
7 | (Portage version: 2.1.5_rc6) |
8 | |
9 | Revision Changes Path |
10 | 1.15 app-benchmarks/lmbench/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/lmbench/ChangeLog?rev=1.15&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/lmbench/ChangeLog?rev=1.15&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/lmbench/ChangeLog?r1=1.14&r2=1.15 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/ChangeLog,v |
19 | retrieving revision 1.14 |
20 | retrieving revision 1.15 |
21 | diff -u -r1.14 -r1.15 |
22 | --- ChangeLog 2 May 2008 23:22:07 -0000 1.14 |
23 | +++ ChangeLog 3 May 2008 01:04:06 -0000 1.15 |
24 | @@ -1,6 +1,11 @@ |
25 | # ChangeLog for app-benchmarks/lmbench |
26 | # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/ChangeLog,v 1.14 2008/05/02 23:22:07 dragonheart Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/ChangeLog,v 1.15 2008/05/03 01:04:06 dragonheart Exp $ |
29 | + |
30 | +*lmbench-3 (03 May 2008) |
31 | + |
32 | + 03 May 2008; Daniel Black <dragonheart@g.o> +lmbench-3.ebuild: |
33 | + version bump as per bug #214229 - thanks Auke Booij |
34 | |
35 | 02 May 2008; Daniel Black <dragonheart@g.o> |
36 | +files/lmbench-3.0_alpha3-qa.patch, lmbench-3.0_alpha3.ebuild: |
37 | |
38 | |
39 | |
40 | 1.1 app-benchmarks/lmbench/lmbench-3.ebuild |
41 | |
42 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/lmbench/lmbench-3.ebuild?rev=1.1&view=markup |
43 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-benchmarks/lmbench/lmbench-3.ebuild?rev=1.1&content-type=text/plain |
44 | |
45 | Index: lmbench-3.ebuild |
46 | =================================================================== |
47 | # Copyright 1999-2008 Gentoo Foundation |
48 | # Distributed under the terms of the GNU General Public License v2 |
49 | # $Header: /var/cvsroot/gentoo-x86/app-benchmarks/lmbench/lmbench-3.ebuild,v 1.1 2008/05/03 01:04:06 dragonheart Exp $ |
50 | |
51 | inherit toolchain-funcs eutils |
52 | |
53 | MY_P=${PN}${PV} |
54 | DESCRIPTION="Suite of simple, portable benchmarks" |
55 | HOMEPAGE="http://www.bitmover.com/lmbench/whatis_lmbench.html" |
56 | SRC_URI="http://www.bitmover.com/lmbench/${MY_P}.tar.gz" |
57 | |
58 | LICENSE="GPL-2" |
59 | SLOT="0" |
60 | KEYWORDS="~amd64 ~ppc ~sparc ~x86" |
61 | IUSE="" |
62 | |
63 | DEPEND="virtual/libc" |
64 | |
65 | S=${WORKDIR}/${MY_P} |
66 | |
67 | src_unpack() { |
68 | unpack ${A} |
69 | cd "${S}" |
70 | epatch "${FILESDIR}"/${PN}-3.0_alpha3-qa.patch |
71 | sed -e "s#^my \$distro =.*#my \$distro = \"`uname -r`\";#" \ |
72 | -e 's#^@files =#chdir "/usr/share/lmbench"; @files =#' \ |
73 | -e "s#../../CONFIG#/etc/bc-config#g" "${FILESDIR}"/bc_lm.pl > bc_lm.pl |
74 | sed -i -e "s/^\(bk.ver:\).*/\1/" src/Makefile |
75 | touch src/bk.ver |
76 | } |
77 | |
78 | src_compile() { |
79 | emake CC=$(tc-getCC) MAKE=make OS=`scripts/os` build || die |
80 | } |
81 | |
82 | src_install() { |
83 | cd src ; make BASE="${D}"/usr install || die |
84 | |
85 | dodir /usr/share |
86 | mv "${D}"/usr/man "${D}"/usr/share |
87 | |
88 | cd "${S}" |
89 | exeinto /usr/bin |
90 | doexe "${S}"/bc_lm.pl |
91 | mv "${D}"/usr/bin/stream "${D}"/usr/bin/stream.lmbench |
92 | |
93 | insinto /etc |
94 | doins "${FILESDIR}"/bc-config |
95 | |
96 | dodir /usr/share/lmbench |
97 | dodir /usr/share/lmbench/src |
98 | cp src/webpage-lm.tar "${D}"/usr/share/lmbench/src |
99 | cp -R scripts "${D}"/usr/share/lmbench |
100 | |
101 | dodir /usr/share/lmbench/results |
102 | chmod 777 ${D}/usr/share/lmbench/results |
103 | dodir /usr/share/lmbench/bin |
104 | chmod 777 ${D}/usr/share/lmbench/bin |
105 | |
106 | # avoid file collision with sys-apps/util-linux |
107 | mv ${D}/usr/bin/line ${D}/usr/bin/line.lmbench |
108 | } |
109 | |
110 | |
111 | |
112 | -- |
113 | gentoo-commits@l.g.o mailing list |