components/iperf3/Makefile
changeset 6960 f00b140e6277
child 7687 1093e2a9adbd
equal deleted inserted replaced
6959:858b3764bcdd 6960:f00b140e6277
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 BUILD_BITS= 64
       
    26 include ../../make-rules/shared-macros.mk
       
    27 
       
    28 COMPONENT_NAME=		iperf
       
    29 COMPONENT_VERSION=	3.1.3
       
    30 COMPONENT_PROJECT_URL=	https://iperf.fr/
       
    31 COMPONENT_ARCHIVE_HASH=	\
       
    32     sha256:60d8db69b1d74a64d78566c2317c373a85fef691b8d277737ee5d29f448595bf
       
    33 COMPONENT_ARCHIVE_URL=	http://downloads.es.net/pub/$(COMPONENT_NAME)/$(COMPONENT_ARCHIVE)
       
    34 COMPONENT_BUGDB=	utility/iperf
       
    35 
       
    36 TPNO=			31583
       
    37 
       
    38 # There is no easy way to do automated testing that produce consistent
       
    39 # results independent of what machine there are run on, but the following
       
    40 # can be done manually.
       
    41 #
       
    42 # In one terminal window, start the iperf3 server with:
       
    43 #
       
    44 # $ cd .../components/iperf3/build/[amd64,sparcv9]/src
       
    45 # $ ./iperf3 -s
       
    46 #
       
    47 # In another terminal window, start the script to test various commands with:
       
    48 #
       
    49 # $ cd .../components/iperf3/build/[amd64,sparcv9]/
       
    50 # $ ./test_commands.sh localhost
       
    51 #
       
    52 TEST_TARGET= $(NO_TESTS)
       
    53 
       
    54 include $(WS_MAKE_RULES)/common.mk
       
    55 
       
    56 # Needed to successfully run the test_commands.sh script in a built workspace.
       
    57 COMPONENT_PRE_CONFIGURE_ACTION = \
       
    58 	($(CLONEY) $(SOURCE_DIR) $(@D))
       
    59 
       
    60 REQUIRED_PACKAGES += system/library/math