aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/unixbench/unixbench_5.1.2.bb
blob: 494e6593ce75fdcaebcf469818306f0e8bdf2408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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"
PR = "r1"

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"