Alexander Pyhalov
2016-12-13 605bda9a1ded1e7bd3a6681a42600bd198a2b48f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"). You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
 
#
# Copyright 2016 Alexander Pyhalov
#
 
include ../../../make-rules/shared-macros.mk
 
COMPONENT_NAME=        fio
COMPONENT_VERSION=    2.15
COMPONENT_SUMMARY=    Flexible I/O tester
COMPONENT_FMRI=        system/test/fio
COMPONENT_CLASSIFICATION=    Development/System
COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_NAME)-$(COMPONENT_VERSION)
COMPONENT_ARCHIVE=    $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
COMPONENT_ARCHIVE_HASH=    \
    sha256:bcc4407d3f8d0b02964a738b11719e6daa45461fd830ac6d0a7909ea25da4156
COMPONENT_PROJECT_URL=    http://freecode.com/projects/fio
COMPONENT_ARCHIVE_URL=    \
    https://github.com/axboe/fio/archive/$(COMPONENT_ARCHIVE)
COMPONENT_LICENSE_FILE=    COPYING
COMPONENT_LICENSE=    GPLv2
 
include $(WS_MAKE_RULES)/prep.mk
include $(WS_MAKE_RULES)/configure.mk
include $(WS_MAKE_RULES)/ips.mk
 
CONFIGURE_OPTIONS = --prefix=$(CONFIGURE_PREFIX)
CONFIGURE_OPTIONS += --cc="$(CC)"
CONFIGURE_OPTIONS += --extra-cflags="$(CFLAGS)"
 
build:        $(BUILD_32)
 
install:    $(INSTALL_32)
 
test:        $(NO_TESTS)
 
REQUIRED_PACKAGES += library/zlib
REQUIRED_PACKAGES += runtime/python-27
REQUIRED_PACKAGES += SUNWcs
REQUIRED_PACKAGES += system/library
REQUIRED_PACKAGES += system/library/math