2 # Copyright (C) 2018 Daniel Engberg <daniel.engberg.lists@pyret.net>
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_URL
:=http
://brick.kernel.dk
/snaps
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
16 PKG_HASH
:=a21d1e50c18eecbd5ee6f7c3c0a8c8605bbe31b91e07c387b2144b02ea3fb235
18 PKG_MAINTAINER
:=Rosen Penev
<rosenp@gmail.com
>
20 PKG_LICENSE_FILES
:=COPYING
24 include $(INCLUDE_DIR
)/package.mk
30 DEPENDS
:=+libaio
+zlib
31 TITLE
:=I
/O testing and benchmarking tool
32 URL
:=https
://github.com
/axboe
/fio
35 define Package
/fio
/description
36 Fio is an I
/O testing tool that will spawn a number of threads or
37 processes doing a particular type of I
/O action
as specified by
38 the user. Fio can be driven by a
'job file' describing the I
/O
39 load one wants to simulate.
42 TARGET_CFLAGS
:= $(filter-out -O
%,$(TARGET_CFLAGS
))
43 TARGET_LDFLAGS
+= -Wl
,--gc-sections
56 --extra-cflags
="$(TARGET_CFLAGS)"
58 define Package
/fio
/install
59 $(INSTALL_DIR
) $(1)/usr
/bin
60 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/fio
$(1)/usr
/bin
/
63 $(eval
$(call BuildPackage
,fio
))