diff options
Diffstat (limited to 'recipes/bonnie/bonnie++.inc')
-rw-r--r-- | recipes/bonnie/bonnie++.inc | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/recipes/bonnie/bonnie++.inc b/recipes/bonnie/bonnie++.inc new file mode 100644 index 0000000000..7e9d81579c --- /dev/null +++ b/recipes/bonnie/bonnie++.inc @@ -0,0 +1,30 @@ +# bonnie OE build file +# Copyright (C) 2004-2006, Advanced Micro Devices, Inc. All Rights Reserved +# Released under the MIT license (see packages/COPYING) + +DESCRIPTION="Tests large file IO and creation/deletion of small files." +LICENSE="GPL" + + +SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz \ + file://gcc-4.3-fixes.patch;patch=1" + +inherit autotools + +EXES="bonnie++ zcav" +SCRIPTS="bon_csv2html bon_csv2txt" + +PACKAGES += "bonnie-scripts" + +FILES_${PN} = "/sbin" +FILES_bonnie-scripts="/bin" + +S="${WORKDIR}/${PN}-${PV}" + +do_install () { + install -d ${D}/bin + install -d ${D}/sbin + + install -m 0755 ${EXES} ${D}/sbin + install -m 0755 ${SCRIPTS} ${D}/bin +} |