pkgconf: change to new library paths
[unleashed-userland.git] / components / sysutils / fio / Makefile
blob31dcee3b7d1af279fd47c4ead5da5e54eceb1272
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 2016 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= fio
18 COMPONENT_VERSION= 2.15
19 COMPONENT_SUMMARY= Flexible I/O tester
20 COMPONENT_FMRI= system/test/fio
21 COMPONENT_CLASSIFICATION= Development/System
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:bcc4407d3f8d0b02964a738b11719e6daa45461fd830ac6d0a7909ea25da4156
26 COMPONENT_PROJECT_URL= http://freecode.com/projects/fio
27 COMPONENT_ARCHIVE_URL= \
28 https://github.com/axboe/fio/archive/$(COMPONENT_ARCHIVE)
29 COMPONENT_LICENSE_FILE= COPYING
30 COMPONENT_LICENSE= GPLv2
32 include $(WS_MAKE_RULES)/prep.mk
33 include $(WS_MAKE_RULES)/configure.mk
34 include $(WS_MAKE_RULES)/ips.mk
36 CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
37 CONFIGURE_OPTIONS += --cc="$(CC)"
38 CONFIGURE_OPTIONS += --extra-cflags="$(CFLAGS)"
40 build: $(BUILD_32)
42 install: $(INSTALL_32)
44 test: $(NO_TESTS)
46 REQUIRED_PACKAGES += library/zlib
47 REQUIRED_PACKAGES += runtime/python-27
48 REQUIRED_PACKAGES += SUNWcs
49 REQUIRED_PACKAGES += system/library
50 REQUIRED_PACKAGES += system/library/math