2 # Copyright (C) 2009-2016 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).tgz
15 PKG_SOURCE_URL
:=https
://www.coker.com.au
/bonnie
++
16 PKG_HASH
:=a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e
20 PKG_LICENSE_FILES
:=copyright.txt
22 include $(INCLUDE_DIR
)/package.mk
23 include $(INCLUDE_DIR
)/meson.mk
25 define Package
/bonniexx
28 DEPENDS
:=+libstdcpp
+libpthread
29 TITLE
:=Bonnie
++ - hard drive bottleneck testing program.
30 URL
:=https
://www.coker.com.au
/bonnie
++/
33 define Package
/bonniexx
/description
34 Bonnie
++ is a benchmark suite that is aimed at performing a number of simple
35 tests of hard drive and file system performance.
43 TARGET_CXXFLAGS
+= -ffunction-sections
-fdata-sections
45 define Package
/bonniexx
/install
46 $(INSTALL_DIR
) $(1)/usr
/bin
47 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/bonnie
++ $(1)/usr
/bin
/
48 $(CP
) $(PKG_INSTALL_DIR
)/usr
/bin
/bon_csv2html
$(1)/usr
/bin
/
51 $(eval
$(call BuildPackage
,bonniexx
))