1 |
hwoarang 12/11/03 18:58:32 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: ltp-20120903.ebuild |
5 |
Removed: ltp-20090131.ebuild ltp-20100131.ebuild |
6 |
Log: |
7 |
Version bump. Clean up ebuild. Remove old. Take maintainership |
8 |
|
9 |
(Portage version: 2.1.11.30/cvs/Linux x86_64, signed Manifest commit with key B4AFF2C2) |
10 |
|
11 |
Revision Changes Path |
12 |
1.5 app-benchmarks/ltp/metadata.xml |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/metadata.xml?rev=1.5&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/metadata.xml?rev=1.5&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/metadata.xml?r1=1.4&r2=1.5 |
17 |
|
18 |
Index: metadata.xml |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/metadata.xml,v |
21 |
retrieving revision 1.4 |
22 |
retrieving revision 1.5 |
23 |
diff -u -r1.4 -r1.5 |
24 |
--- metadata.xml 4 Dec 2008 22:33:21 -0000 1.4 |
25 |
+++ metadata.xml 3 Nov 2012 18:58:32 -0000 1.5 |
26 |
@@ -3,10 +3,16 @@ |
27 |
<pkgmetadata> |
28 |
<herd>benchmarks</herd> |
29 |
<maintainer> |
30 |
- <email>patrick@g.o</email> |
31 |
- <name>Patrick Lauer</name> |
32 |
+ <email>hwoarang@g.o</email> |
33 |
+ <name>Markos Chandras</name> |
34 |
<description>Maintainer</description> |
35 |
</maintainer> |
36 |
+<use> |
37 |
+ <flag name="open-posix">Build and install the POSIX testsuite</flag> |
38 |
+ <flag name="pm">Build and install the power management testsuite</flag> |
39 |
+ <flag name="expect">Build against the expect library for interactive testing</flag> |
40 |
+ <flag name="rt">Build and install the realtime testsuite</flag> |
41 |
+</use> |
42 |
<longdescription> |
43 |
The Linux Test Project is a joint project started by SGI and maintained by |
44 |
IBM, that has a goal to deliver test suites to the open source community |
45 |
|
46 |
|
47 |
|
48 |
1.20 app-benchmarks/ltp/ChangeLog |
49 |
|
50 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ChangeLog?rev=1.20&view=markup |
51 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ChangeLog?rev=1.20&content-type=text/plain |
52 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ChangeLog?r1=1.19&r2=1.20 |
53 |
|
54 |
Index: ChangeLog |
55 |
=================================================================== |
56 |
RCS file: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v |
57 |
retrieving revision 1.19 |
58 |
retrieving revision 1.20 |
59 |
diff -u -r1.19 -r1.20 |
60 |
--- ChangeLog 10 Nov 2010 19:12:57 -0000 1.19 |
61 |
+++ ChangeLog 3 Nov 2012 18:58:32 -0000 1.20 |
62 |
@@ -1,6 +1,13 @@ |
63 |
# ChangeLog for app-benchmarks/ltp |
64 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
65 |
-# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.19 2010/11/10 19:12:57 patrick Exp $ |
66 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
67 |
+# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ChangeLog,v 1.20 2012/11/03 18:58:32 hwoarang Exp $ |
68 |
+ |
69 |
+*ltp-20120903 (03 Nov 2012) |
70 |
+ |
71 |
+ 03 Nov 2012; Markos Chandras <hwoarang@g.o> +ltp-20120903.ebuild, |
72 |
+ -ltp-20090131.ebuild, -ltp-20100131.ebuild, files/runltp-path.patch, |
73 |
+ metadata.xml: |
74 |
+ Version bump. Clean up ebuild. Remove old. Take maintainership |
75 |
|
76 |
10 Nov 2010; Patrick Lauer <patrick@g.o> ltp-20100131.ebuild: |
77 |
Make repoman happy |
78 |
@@ -72,4 +79,3 @@ |
79 |
+ltp-20041104.ebuild: |
80 |
Initial import as per bug #13662. Ebuild and patches by Marien Zwart |
81 |
<m_zwart@×××××××.org> |
82 |
- |
83 |
|
84 |
|
85 |
|
86 |
1.1 app-benchmarks/ltp/ltp-20120903.ebuild |
87 |
|
88 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ltp-20120903.ebuild?rev=1.1&view=markup |
89 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-benchmarks/ltp/ltp-20120903.ebuild?rev=1.1&content-type=text/plain |
90 |
|
91 |
Index: ltp-20120903.ebuild |
92 |
=================================================================== |
93 |
# Copyright 1999-2012 Gentoo Foundation |
94 |
# Distributed under the terms of the GNU General Public License v2 |
95 |
# $Header: /var/cvsroot/gentoo-x86/app-benchmarks/ltp/ltp-20120903.ebuild,v 1.1 2012/11/03 18:58:32 hwoarang Exp $ |
96 |
|
97 |
EAPI="4" |
98 |
|
99 |
inherit autotools eutils |
100 |
|
101 |
MY_PN="${PN}-full" |
102 |
MY_P="${MY_PN}-${PV}" |
103 |
|
104 |
DESCRIPTION="A testsuite for the linux kernel" |
105 |
HOMEPAGE="http://ltp.sourceforge.net/" |
106 |
SRC_URI="mirror://sourceforge/ltp/LTP%20Source/${P}/${MY_P}.bz2 -> ${P}.tar.bz2" |
107 |
LICENSE="GPL-2" |
108 |
SLOT="0" |
109 |
|
110 |
KEYWORDS="~amd64 ~ppc ~x86" |
111 |
IUSE="expect perl pm open-posix python rt" |
112 |
|
113 |
DEPEND="expect? ( dev-tcltk/expect ) |
114 |
perl? ( dev-lang/perl ) |
115 |
python? ( dev-lang/python )" |
116 |
|
117 |
RESTRICT="test" |
118 |
|
119 |
S="${WORKDIR}"/${MY_P} |
120 |
|
121 |
pkg_setup() { |
122 |
# Don't create groups |
123 |
export CREATE=0 |
124 |
} |
125 |
|
126 |
src_prepare() { |
127 |
# regenerate |
128 |
AT_M4DIR="m4" eautoreconf |
129 |
# Create output/ and results/ directories |
130 |
# in /tmp. We don't want to pollute the libexec |
131 |
# directory |
132 |
epatch "${FILESDIR}"/runltp-path.patch |
133 |
} |
134 |
|
135 |
src_configure() { |
136 |
# FIXME: improve me |
137 |
local myconf= |
138 |
use open-posix && myconf+="--with open-posix-testsuite " |
139 |
use pm && mytconf+="--with-power-management-testsuite " |
140 |
use rt && myconf+="--with-realtime-testsuite " |
141 |
use perl && myconf+="--with-perl " |
142 |
use python && myconf+="--with-python " |
143 |
use expect && myconf+="--with-expect " |
144 |
|
145 |
# Better put it into /usr/libexec as everything needs to |
146 |
# be under the same directory.. |
147 |
|
148 |
econf --prefix=/usr/libexec/${PN} ${myconf} |
149 |
} |
150 |
|
151 |
src_compile() { |
152 |
# Posix testsuite does not seem to build with -j>1 |
153 |
# Is this maintained anymore? |
154 |
if use open-posix; then |
155 |
export MAKEOPTS="-j1" |
156 |
fi |
157 |
emake |
158 |
} |
159 |
|
160 |
src_install() { |
161 |
default |
162 |
dosym /usr/libexec/${PN}/runltp /usr/bin/runltp |
163 |
# install docs |
164 |
dodoc doc/MaintNotes |
165 |
for txt in doc/*.txt; do |
166 |
dodoc ${txt} |
167 |
done |
168 |
dodoc -r doc/examples doc/testcases |
169 |
dohtml -r doc/automation-*.html |
170 |
doman doc/man1/*.1 |
171 |
doman doc/man3/*.3 |
172 |
} |
173 |
|
174 |
pkg_postinst() { |
175 |
elog |
176 |
elog "LTP requires root access to run the tests." |
177 |
elog "The LTP root directory is located in /usr/libexec/${PN}" |
178 |
elog "but the results and output folders will be created in /tmp." |
179 |
elog "For more information please read the ltp-howto" |
180 |
elog "located in /usr/share/doc/${PF}" |
181 |
elog |
182 |
} |