ffmpeg-6: fix COMPONENT_REVISION
[oi-userland.git] / components / sysutils / fio / Makefile
blob6b5fb70aa0f405c90cf0fe0d1ee6edf226cf43aa
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.
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.
12 # Copyright 2021 Gary Mills
13 # Copyright 2016 Alexander Pyhalov
16 SINGLE_PYTHON_VERSION= yes
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= fio
20 COMPONENT_VERSION= 3.38
21 COMPONENT_SUMMARY= Flexible I/O tester
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.bz2
24 COMPONENT_ARCHIVE_HASH= sha256:6324ed397b13386a5bc7f1366ad9e8cb957692840d7e5f2fa85ce920465cf7ed
25 COMPONENT_PROJECT_URL= https://git.kernel.dk/cgit/fio/
26 COMPONENT_ARCHIVE_URL= $(COMPONENT_PROJECT_URL)/snapshot/$(COMPONENT_ARCHIVE)
27 COMPONENT_FMRI= system/test/$(COMPONENT_NAME)
28 COMPONENT_CLASSIFICATION= Development/System
29 COMPONENT_LICENSE= GPLv2
30 COMPONENT_LICENSE_FILE= COPYING
32 include $(WS_MAKE_RULES)/common.mk
34 CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
35 CONFIGURE_OPTIONS += --cc="$(CC)"
36 CONFIGURE_OPTIONS += --extra-cflags="$(CFLAGS)"
38 LDFLAGS += -L$(OPENSSL_LIBDIR.$(BITS))
40 CONFIGURE_ENV += CFLAGS="-I$(OPENSSL_INCDIR) $(CFLAGS)"
42 COMPONENT_TEST_TARGETS= test
44 # Auto-generated dependencies
45 PYTHON_REQUIRED_PACKAGES += library/python/six
46 PYTHON_REQUIRED_PACKAGES += runtime/python
47 REQUIRED_PACKAGES += $(OPENSSL_PKG)
48 REQUIRED_PACKAGES += library/zlib
49 REQUIRED_PACKAGES += shell/bash
50 REQUIRED_PACKAGES += shell/ksh93
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/math
53 REQUIRED_PACKAGES += web/curl