increase dvbapp PR.
[vuplus_openembedded] / recipes / bonnie / bonnie++.inc
1 # bonnie OE build file
2 # Copyright (C) 2004-2006, Advanced Micro Devices, Inc.  All Rights Reserved
3 # Released under the MIT license (see packages/COPYING)
4
5 DESCRIPTION="Tests large file IO and creation/deletion of small files."
6 LICENSE="GPL"
7
8
9 SRC_URI="http://www.coker.com.au/bonnie++/${PN}-${PV}.tgz \
10          file://gcc-4.3-fixes.patch;patch=1"
11
12 inherit autotools
13
14 EXES="bonnie++ zcav"
15 SCRIPTS="bon_csv2html bon_csv2txt"
16
17 PACKAGES += "bonnie-scripts"
18
19 FILES_${PN} = "/sbin"
20 FILES_bonnie-scripts="/bin"
21
22 S="${WORKDIR}/${PN}-${PV}"
23
24 TARGET_CC_ARCH += "${LDFLAGS}"
25
26 do_install () {
27         install -d ${D}/bin
28         install -d ${D}/sbin
29
30         install -m 0755 ${EXES} ${D}/sbin
31         install -m 0755 ${SCRIPTS} ${D}/bin
32 }