1 |
commit: ad54c8a563d27b984bcaf6510760205f8bb5f582 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Apr 5 14:02:59 2011 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Apr 5 14:02:59 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=ad54c8a5 |
7 |
|
8 |
app-benchmarks/spew: staging for intro to tree |
9 |
|
10 |
(Portage version: 2.1.9.42/git/Linux x86_64, signed Manifest commit with key 0xD0455535) |
11 |
|
12 |
--- |
13 |
app-benchmarks/spew/ChangeLog | 8 ++++ |
14 |
app-benchmarks/spew/Manifest | 15 ++++++++ |
15 |
.../spew/files/remove-symlinks-makefile.patch | 26 ++++++++++++++ |
16 |
app-benchmarks/spew/metadata.xml | 13 +++++++ |
17 |
app-benchmarks/spew/spew-1.0.8.ebuild | 37 ++++++++++++++++++++ |
18 |
5 files changed, 99 insertions(+), 0 deletions(-) |
19 |
|
20 |
diff --git a/app-benchmarks/spew/ChangeLog b/app-benchmarks/spew/ChangeLog |
21 |
new file mode 100644 |
22 |
index 0000000..2f480f0 |
23 |
--- /dev/null |
24 |
+++ b/app-benchmarks/spew/ChangeLog |
25 |
@@ -0,0 +1,8 @@ |
26 |
+ |
27 |
+ |
28 |
+*spew-1.0.8 (05 Apr 2011) |
29 |
+ |
30 |
+ 05 Apr 2011; Anthony G. Basile <blueness@g.o> +spew-1.0.8.ebuild, |
31 |
+ +files/remove-symlinks-makefile.patch, +metadata.xml: |
32 |
+ Initial commit. |
33 |
+ |
34 |
|
35 |
diff --git a/app-benchmarks/spew/Manifest b/app-benchmarks/spew/Manifest |
36 |
new file mode 100644 |
37 |
index 0000000..126cd35 |
38 |
--- /dev/null |
39 |
+++ b/app-benchmarks/spew/Manifest |
40 |
@@ -0,0 +1,15 @@ |
41 |
+-----BEGIN PGP SIGNED MESSAGE----- |
42 |
+Hash: SHA256 |
43 |
+ |
44 |
+AUX remove-symlinks-makefile.patch 1125 RMD160 ce243020147db07916bbece151bd5116a9a106bf SHA1 6a4a64afe8cb45ee01af7b0e0a4997510b54a029 SHA256 06e591faefec55e12d52576f7ac4972dc4e4d0ba550f20bac3c089c7df1253a1 |
45 |
+DIST spew-1.0.8.tgz 162091 RMD160 e67314f97a04440a6590133377ae1b76d2e81c7a SHA1 70258b13b0c5ec622024ff077a1ea86dd972819c SHA256 200da1b4390a5e4bf91cb7278b3ad813194f0e395abc0da6296ac415e11a76cb |
46 |
+EBUILD spew-1.0.8.ebuild 867 RMD160 cbd1d424de78f2365aae98546c6c6a0d40a9cb1f SHA1 b23f76b5a9c76e7492d1e73b97e5f111f4608b24 SHA256 6f0be2a492d0d5ca97ce2aba8b44db476610c378f25b020f264199348e5cf3a0 |
47 |
+MISC ChangeLog 179 RMD160 21b25722427f9d337dd6b24f40c3494fe61decb7 SHA1 d118780f0fd081652557bd237c22f0553a9cf1e0 SHA256 22e7fb5536fadeee8fec80eee0982bb309e51ca2f715a83c3ec5e05e32465576 |
48 |
+MISC metadata.xml 447 RMD160 b52268043bc52e4e7585a08afce87d44d8aed447 SHA1 4a125d08613a97c00528b9dd1509e267eefa8000 SHA256 364f375c7dadcede1d8384f71bf2ad059cbcfea4efc486e9e8e3f7a3ef78c037 |
49 |
+-----BEGIN PGP SIGNATURE----- |
50 |
+Version: GnuPG v2.0.17 (GNU/Linux) |
51 |
+ |
52 |
+iEYEAREIAAYFAk2bIRMACgkQl5yvQNBFVTUh+wCcDPAyuGc5iN7zL/jxKtTmzX3t |
53 |
+TqAAnj8/X5paQyWHXeWLpDaQVzuXoEkp |
54 |
+=Ldxh |
55 |
+-----END PGP SIGNATURE----- |
56 |
|
57 |
diff --git a/app-benchmarks/spew/files/remove-symlinks-makefile.patch b/app-benchmarks/spew/files/remove-symlinks-makefile.patch |
58 |
new file mode 100644 |
59 |
index 0000000..e5c369a |
60 |
--- /dev/null |
61 |
+++ b/app-benchmarks/spew/files/remove-symlinks-makefile.patch |
62 |
@@ -0,0 +1,26 @@ |
63 |
+diff -Naur spew-1.0.8.orig/man/Makefile.am spew-1.0.8/man/Makefile.am |
64 |
+--- spew-1.0.8.orig/man/Makefile.am 2008-05-13 00:47:28.000000000 -0400 |
65 |
++++ spew-1.0.8/man/Makefile.am 2011-04-05 09:39:32.000000000 -0400 |
66 |
+@@ -10,11 +10,5 @@ |
67 |
+ sed -e 's!SPEW_VERSION!$(VERSION)!' \ |
68 |
+ -e 's!SYSCONFDIR!$(sysconfdir)!' $< >$@ |
69 |
+ |
70 |
+-install-data-am: install-man install-man-local |
71 |
+- |
72 |
+-install-man-local: |
73 |
+- (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f spew.1 gorge.1) |
74 |
+- (cd $(DESTDIR)$(mandir)/man1 && $(LN_S) -f spew.1 regorge.1) |
75 |
+- |
76 |
+ help2man: |
77 |
+ help2man --section=1 --no-info --name="measures I/O performance and/or generates I/O load" --include="spew.1.include" --output=spew.1.in ../src/spew |
78 |
+diff -Naur spew-1.0.8.orig/src/Makefile.am spew-1.0.8/src/Makefile.am |
79 |
+--- spew-1.0.8.orig/src/Makefile.am 2008-05-13 00:47:20.000000000 -0400 |
80 |
++++ spew-1.0.8/src/Makefile.am 2011-04-05 09:35:16.000000000 -0400 |
81 |
+@@ -38,7 +38,3 @@ |
82 |
+ SpewTuiStatusWindow.cpp SpewTuiStatusWindow.h |
83 |
+ |
84 |
+ spew_LDFLAGS = $(STATIC_LINK) |
85 |
+- |
86 |
+-install-exec-local: |
87 |
+- (cd $(DESTDIR)$(bindir) && $(LN_S) -f spew gorge) |
88 |
+- (cd $(DESTDIR)$(bindir) && $(LN_S) -f spew regorge) |
89 |
|
90 |
diff --git a/app-benchmarks/spew/metadata.xml b/app-benchmarks/spew/metadata.xml |
91 |
new file mode 100644 |
92 |
index 0000000..5234f33 |
93 |
--- /dev/null |
94 |
+++ b/app-benchmarks/spew/metadata.xml |
95 |
@@ -0,0 +1,13 @@ |
96 |
+<?xml version="1.0" encoding="UTF-8"?> |
97 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
98 |
+<pkgmetadata> |
99 |
+ <maintainer> |
100 |
+ <email>blueness@g.o</email> |
101 |
+ <name>Anthony G. Basile</name> |
102 |
+ </maintainer> |
103 |
+ <longdescription lang="en"> |
104 |
+ An I/O performance measurement and load generation tool. Writes |
105 |
+ and/or reads generated data to or from a character device, block |
106 |
+ device, or regular file. |
107 |
+ </longdescription> |
108 |
+</pkgmetadata> |
109 |
|
110 |
diff --git a/app-benchmarks/spew/spew-1.0.8.ebuild b/app-benchmarks/spew/spew-1.0.8.ebuild |
111 |
new file mode 100644 |
112 |
index 0000000..ad62109 |
113 |
--- /dev/null |
114 |
+++ b/app-benchmarks/spew/spew-1.0.8.ebuild |
115 |
@@ -0,0 +1,37 @@ |
116 |
+# Copyright 1999-2011 Gentoo Foundation |
117 |
+# Distributed under the terms of the GNU General Public License v2 |
118 |
+# $Header: $ |
119 |
+ |
120 |
+EAPI=3 |
121 |
+ |
122 |
+inherit autotools eutils |
123 |
+ |
124 |
+DESCRIPTION="Measures I/O performance and/or generates I/O load" |
125 |
+HOMEPAGE="http://spew.berlios.de/" |
126 |
+SRC_URI="ftp://ftp.berlios.de/pub/spew/1.0.8/spew-1.0.8.tgz" |
127 |
+ |
128 |
+LICENSE="GPL-2" |
129 |
+SLOT="0" |
130 |
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" |
131 |
+IUSE="static-libs" |
132 |
+ |
133 |
+DEPEND="sys-libs/ncurses |
134 |
+ dev-libs/popt" |
135 |
+RDEPEND="${DEPEND}" |
136 |
+ |
137 |
+src_prepare() { |
138 |
+ epatch "${FILESDIR}"/remove-symlinks-makefile.patch |
139 |
+ eautoreconf |
140 |
+} |
141 |
+ |
142 |
+src_configure() { |
143 |
+ econf $(use_enable static-libs static-link) || die "econf failed" |
144 |
+} |
145 |
+ |
146 |
+src_install() { |
147 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
148 |
+ dosym spew /usr/bin/gorge |
149 |
+ dosym spew /usr/bin/regorge |
150 |
+ dosym spew.1.bz2 /usr/share/man/man1/gorge.1.bz2 |
151 |
+ dosym spew.1.bz2 /usr/share/man/man1/reorge.1.bz2 |
152 |
+} |