Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SUMMARY = "Tests large file IO and creation/deletion of small files" |
| 2 | HOMEPAGE = "http://www.coker.com.au/bonnie++/" |
| 3 | SECTION = "benchmark/tests" |
| 4 | LICENSE = "GPLv2" |
| 5 | LIC_FILES_CHKSUM = "file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0" |
| 6 | |
| 7 | SRC_URI = "http://www.coker.com.au/bonnie++/${BPN}-${PV}.tgz \ |
| 8 | file://gcc-4.3-fixes.patch \ |
| 9 | " |
| 10 | SRC_URI[md5sum] = "750aa5b5051263a99c6c195888c74968" |
| 11 | SRC_URI[sha256sum] = "cb3866116634bf65760b6806be4afa7e24a1cad6f145c876df8721f01ba2e2cb" |
| 12 | |
| 13 | inherit autotools-brokensep |
| 14 | |
| 15 | SCRIPTS = "bon_csv2html bon_csv2txt" |
| 16 | EXES = "bonnie++ zcav" |
| 17 | |
| 18 | TARGET_CC_ARCH += "${LDFLAGS}" |
| 19 | |
| 20 | do_install () { |
| 21 | install -d ${D}/${bindir} |
| 22 | install -d ${D}/${sbindir} |
| 23 | install -m 0755 ${EXES} ${D}/${sbindir} |
| 24 | install -m 0755 ${SCRIPTS} ${D}/${bindir} |
| 25 | } |
| 26 | |
| 27 | PACKAGES =+ "bonnie-scripts" |
| 28 | |
| 29 | FILES_${PN} = "${sbindir}" |
| 30 | FILES_bonnie-scripts = "${bindir}" |
| 31 | |
| 32 | RDEPENDS_bonnie-scripts += "perl" |