Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 1 | SUMMARY = "Small collection of benchmarks for storage I/O" |
| 2 | LICENSE = "GPLv2" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b529aaa6a0c50f15d29f89609b5c22f3" |
| 4 | |
| 5 | SRCREV = "79698f645bfb28d0d966484ddad3a1efb562246d" |
| 6 | PV = "0.0+git${SRCPV}" |
| 7 | SRC_URI = "git://github.com/Algodev-github/S.git;protocol=https;branch=master" |
| 8 | |
| 9 | S = "${WORKDIR}/git" |
| 10 | |
| 11 | # installing in /opt/S-suite since the package has |
| 12 | # dependencies to the directory structure. |
| 13 | do_install() { |
| 14 | install -d ${D}/opt/S-suite |
| 15 | for i in $(find ${S}/* -type d); do |
| 16 | install -d ${D}/opt/S-suite/$(basename $i) |
| 17 | install -m0755 -p ${S}/$(basename $i)/* ${D}/opt/S-suite/$(basename $i) |
| 18 | done |
| 19 | |
| 20 | install -m0755 ${S}/config_params.sh ${D}/opt/S-suite |
| 21 | install -m0755 ${S}/def_config_params.sh ${D}/opt/S-suite |
| 22 | } |
| 23 | |
| 24 | RDEPENDS_${PN} = "bash bc coreutils gawk g++ gcc fio libaio libaio-dev sysstat" |
| 25 | |
| 26 | FILES_${PN} = "/opt/S-suite/" |
| 27 | |
| 28 | # added to INSANE_SKIP since s-suite have an runtime |
| 29 | # dependency (RDEPENDS) on libaio-dev. |
| 30 | INSANE_SKIP_${PN} += "dev-deps" |