summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2016-11-09 15:58:51 +0800
committerMartin Jansa <Martin.Jansa@gmail.com>2016-11-23 15:24:43 +0100
commitce306bbec1da8ee45ff061c8f83d211c4d9334fd (patch)
treecc3d095c8a24c53c4e8da2f9aec8a4b39979501d /meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
parentca83981ecf7e09bedea5fa876fb8f923454c7d52 (diff)
downloadmeta-openembedded-ce306bbec1da8ee45ff061c8f83d211c4d9334fd.tar.gz
iozone3: 434 -> 465
Update LIC_FILES_CHKSUM according to: http://www.iozone.org/docs/Iozone_License.txt Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-benchmark/iozone3/iozone3_465.bb')
-rw-r--r--meta-oe/recipes-benchmark/iozone3/iozone3_465.bb115
1 files changed, 115 insertions, 0 deletions
diff --git a/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb b/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
new file mode 100644
index 0000000000..67ce88556a
--- /dev/null
+++ b/meta-oe/recipes-benchmark/iozone3/iozone3_465.bb
@@ -0,0 +1,115 @@
1SUMMARY = "Filesystem and Disk Benchmarking Tool"
2HOMEPAGE = "http://www.iozone.org/"
3AUTHOR = "Don Capps <don.capps2@verizon.net>, William D. Norcott <wnorcott@us.oracle.com>"
4SECTION = "console/tests"
5LICENSE = "iozone3"
6LIC_FILES_CHKSUM = "file://iozone.c;beginline=37;endline=48;md5=7331260091868dcad0f9edea735b5f4b \
7 file://iozone.c;beginline=260;endline=266;md5=77f9ee51e45b57a7e7519c4fa0b4f00b \
8"
9SRC_URI = "http://www.iozone.org/src/current/${BPN}_${PV}.tar \
10 file://copyright.txt \
11"
12SRC_URI[md5sum] = "c924e5e46fb1cf8145f420e8e57eb954"
13SRC_URI[sha256sum] = "2e3d72916e7d7340a7c505fc0c3d28553fcc5ff2daf41d811368e55bd4e6a293"
14
15S = "${WORKDIR}/${BPN}_${PV}/src/current/"
16
17#
18# All other arches can use the default OEMAKE except those
19# explicitly listed below. Another, the iozone3 Makefile
20# needs to be told about the cross-compiler explicitly here.
21#
22EXTRA_OEMAKE_powerpc = "linux-powerpc CC='${CC}' GCC='${CC}'"
23EXTRA_OEMAKE_powerpc64 = "linux-powerpc64 CC='${CC}' GCC='${CC}'"
24EXTRA_OEMAKE_arm = "linux-arm CC='${CC}' GCC='${CC}'"
25EXTRA_OEMAKE = "linux CC='${CC}' GCC='${CC}'"
26
27TARGET_CC_ARCH += "${LDFLAGS}"
28
29do_install() {
30 install -d ${D}${bindir} \
31 ${D}${mandir}/man1 \
32 ${D}${datadir}/doc/${BPN}/examples
33
34 install -m 0755 ${S}/iozone ${D}${bindir}
35 install -m 0755 ${S}/fileop ${D}${bindir}
36 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/iozone.1 ${D}${mandir}/man1/
37 install -m 0644 ${WORKDIR}/copyright.txt ${D}${datadir}/doc/${BPN}/
38
39 install -m 0644 ${S}/*.dem ${D}${datadir}/doc/${BPN}/examples
40 install -m 0644 ${S}/client_list ${D}${datadir}/doc/${BPN}/examples
41 install -m 0644 ${S}/Gnuplot.txt ${D}${datadir}/doc/${BPN}/examples
42
43 install -m 0755 ${S}/Generate_Graphs ${D}${datadir}/doc/${BPN}/examples
44 install -m 0755 ${S}/gengnuplot.sh ${D}${datadir}/doc/${BPN}/examples
45 install -m 0755 ${S}/report.pl ${D}${datadir}/doc/${BPN}/examples
46
47 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Iozone_ps.gz ${D}${datadir}/doc/${BPN}/
48 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/IOzone_msword_98.pdf ${D}${datadir}/doc/${BPN}/
49 install -m 0644 ${WORKDIR}/${BPN}_${PV}/docs/Run_rules.doc ${D}${datadir}/doc/${BPN}/
50}
51
52FILES_${PN} += "${datadir}/doc/${PN}/copyright.txt"
53
54# LICENSE:
55#
56# Copyright 1991, 1992, 1994, 1998, 1999, 2002 William D. Norcott
57#
58# License to freely use and distribute this software is hereby granted
59# by the author, subject to the condition that this copyright notice
60# remains intact. The author retains the exclusive right to publish
61# derivative works based on this work, including, but not limited to
62# revised versions of this work.
63#
64
65#
66# Below is author reply to question about distributing iozone3 in
67# OpenEmbedded:
68#
69# ========================================================================
70#
71# Marcin,
72#
73# Re-distribution is permitted as long as the copyright is
74# maintained and the source code is not changed. I do not
75# see a problem with your mods to enable fileop for Linux-arm,
76# as these mods have been returned to the Iozone folks,
77# and they have been accepted for inclusion in the next
78# release :-)
79#
80# Thank you for your contribution,
81# Don Capps
82#
83# ----- Original Message -----
84# From: "Marcin Juszkiewicz" <firma@hrw.one.pl>
85# To: "Don Capps" <don.capps2@verizon.net>; "William D. Norcott"
86# <wnorcott@us.oracle.com>
87# Sent: Sunday, October 29, 2006 4:55 PM
88# Subject: iozone3 263 patch for arm and License question
89#
90#
91# > Morning
92# >
93# > I want to include iozone3 in OpenEmbedded [1] metadata to give it for
94# > other developers. Currently OE is used to build few distributions for
95# > misc platforms: ARM, SH3, SH4, x86, PowerPC and different types of
96# > machines (PDA, settopbox, devboards, desktops, thin clients, routers).
97# >
98# > According to your distribution of derivations is forbidden. Packaging
99# > iozone3 in OpenEmbedded will not involve any source code changes. But
100# > when I was building it for ARM I discovered that fileop binary was not
101# > built - so I created patch for it (attached). Not yet tested it on target
102# > device.
103# >
104# > Thus, I seek your written permission via e-mail to distribute a package of
105# > the unmodified source code and also a package of the pre-compiled binary.
106# > Your copyright statement will be included in the package.
107# >
108# >
109# > 1. http://www.openembedded.org/
110# >
111# > Regards
112# > --
113# > JID: hrw-jabber.org
114# > OpenEmbedded developer/consultant
115