gst1-plugins-base: update to 1.22.8
[feed/packages.git] / utils / bonnie++ / Makefile
1 #
2 # Copyright (C) 2009-2016 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=bonnie++
11 PKG_VERSION:=2.00a
12 PKG_RELEASE:=1
13
14 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tgz
15 PKG_SOURCE_URL:=https://www.coker.com.au/bonnie++
16 PKG_HASH:=a8d33bbd81bc7eb559ce5bf6e584b9b53faea39ccfb4ae92e58f27257e468f0e
17
18 PKG_MAINTAINER:=
19 PKG_LICENSE:=GPL-2.0
20 PKG_LICENSE_FILES:=copyright.txt
21
22 include $(INCLUDE_DIR)/package.mk
23 include $(INCLUDE_DIR)/meson.mk
24
25 define Package/bonniexx
26 SECTION:=utils
27 CATEGORY:=Utilities
28 DEPENDS:=+libstdcpp +libpthread
29 TITLE:=Bonnie++ - hard drive bottleneck testing program.
30 URL:=https://www.coker.com.au/bonnie++/
31 endef
32
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.
36 endef
37
38 MESON_ARGS += \
39 -Db_lto=true \
40 -Dcpp_eh=none \
41 -Dcpp_rtti=false
42
43 TARGET_CXXFLAGS += -ffunction-sections -fdata-sections
44
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/
49 endef
50
51 $(eval $(call BuildPackage,bonniexx))