aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/unixbench/unixbench_5.1.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/unixbench/unixbench_5.1.2.bb')
-rw-r--r--recipes/unixbench/unixbench_5.1.2.bb19
1 files changed, 19 insertions, 0 deletions
diff --git a/recipes/unixbench/unixbench_5.1.2.bb b/recipes/unixbench/unixbench_5.1.2.bb
new file mode 100644
index 0000000000..13f846fc4b
--- /dev/null
+++ b/recipes/unixbench/unixbench_5.1.2.bb
@@ -0,0 +1,19 @@
+DESCRIPTION = "Unix benchmark suite"
+DEPENDS = "virtual/libgl"
+RRECOMMENDS_${PN} = "x11perf perl perl-module-strict perl-module-posix perl-module-time-hires perl-module-exporter-heavy perl-module-io-handle perl-module-io make"
+PR = "r2"
+
+SRC_URI = "http://byte-unixbench.googlecode.com/files/${P}.tar.gz"
+
+EXTRA_OEMAKE = "-j1 'CC=${CC}' 'CFLAGS=-DTIME -Wall -pedantic -ansi ${CFLAGS} ${LDFLAGS}'"
+
+FILES_${PN} = "${prefix}/src/unixbench-${PV}"
+FILES_${PN}-dbg = "${prefix}/src/unixbench-${PV}/pgms/.debug"
+
+do_install () {
+ install -d ${D}${prefix}/src
+ cp -pPR ${S} ${D}${prefix}/src/
+}
+
+SRC_URI[md5sum] = "10edef9af6ad29770437d0b39828218d"
+SRC_URI[sha256sum] = "1172d9c7777e67e477b421856b70406ba18a497480db27e4d79eb104435f8d90"