Marcel Telka
2024-03-30 f9ba3aac090e918abb602b2ce28e58b7dd0f59fa
commit | author | age
605bda 1 #
AP 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
e5e9be 12 # Copyright 2021 Gary Mills
605bda 13 # Copyright 2016 Alexander Pyhalov
AP 14 #
15
56d931 16 SINGLE_PYTHON_VERSION= yes
0f8cb4 17 OPENSSL_VERSION= 3.1
605bda 18 include ../../../make-rules/shared-macros.mk
AP 19
20 COMPONENT_NAME=        fio
eba00e 21 COMPONENT_VERSION=    3.37
605bda 22 COMPONENT_SUMMARY=    Flexible I/O tester
e5e9be 23 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
e2e8f7 24 COMPONENT_ARCHIVE=    $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
eba00e 25 COMPONENT_ARCHIVE_HASH= sha256:88f0fd6549ca07f7387e784a91706ab11e36d5c12ec26540f1b2d33c6f2d8327
e2e8f7 26 COMPONENT_PROJECT_URL=    https://git.kernel.dk/cgit/fio/
AW 27 COMPONENT_ARCHIVE_URL=    $(COMPONENT_PROJECT_URL)/snapshot/$(COMPONENT_ARCHIVE)
28 COMPONENT_FMRI=        system/test/$(COMPONENT_NAME)
29 COMPONENT_CLASSIFICATION=    Development/System
605bda 30 COMPONENT_LICENSE=    GPLv2
217e12 31 COMPONENT_LICENSE_FILE=    COPYING
605bda 32
e5e9be 33 include $(WS_MAKE_RULES)/common.mk
GM 34
605bda 35 CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
AP 36 CONFIGURE_OPTIONS += --cc="$(CC)"
37 CONFIGURE_OPTIONS += --extra-cflags="$(CFLAGS)"
38
0f8cb4 39 LDFLAGS += -L$(OPENSSL_LIBDIR.$(BITS))
56d931 40
AW 41 CONFIGURE_ENV += CFLAGS="-I$(OPENSSL_INCDIR) $(CFLAGS)"
42
aaa452 43 COMPONENT_TEST_TARGETS=    test
605bda 44
e5e9be 45 # Auto-generated dependencies
56d931 46 PYTHON_REQUIRED_PACKAGES += library/python/six
AW 47 PYTHON_REQUIRED_PACKAGES += runtime/python
0f8cb4 48 REQUIRED_PACKAGES += library/security/openssl-31
605bda 49 REQUIRED_PACKAGES += library/zlib
e5e9be 50 REQUIRED_PACKAGES += shell/bash
GM 51 REQUIRED_PACKAGES += shell/ksh93
605bda 52 REQUIRED_PACKAGES += system/library
AP 53 REQUIRED_PACKAGES += system/library/math
e5e9be 54 REQUIRED_PACKAGES += web/curl