summaryrefslogtreecommitdiff
path: root/recipes/unixbench
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/unixbench')
-rw-r--r--recipes/unixbench/unixbench_5.1.2.bb18
1 files changed, 18 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..b2b676d4ef
--- /dev/null
+++ b/recipes/unixbench/unixbench_5.1.2.bb
@@ -0,0 +1,18 @@
+DESCRIPTION = "Unix benchmark suite"
+DEPENDS = "virtual/libgl"
+RSUGGESTS_${PN} = "perl"
+
+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"