iperf3: update to 3.1.3, switch to 64 bit and drop static library
[oi-userland.git] / components / sysutils / iperf3 / Makefile
blobb40e74f4dc088d3e0b6f71ddc5dade7014534aef
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
24 # Copyright (c) 2016 Adam Stevko. All rights reserved.
27 include ../../../make-rules/shared-macros.mk
29 COMPONENT_NAME= iperf
30 COMPONENT_VERSION= 3.1.3
31 COMPONENT_SUMMARY= iperf - tool for measuring maximum TCP and UDP bandwidth performance
32 COMPONENT_PROJECT_URL= https://iperf.fr
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
35 COMPONENT_ARCHIVE_URL= https://iperf.fr/download/source/iperf-$(COMPONENT_VERSION)-source.tar.gz
36 COMPONENT_ARCHIVE_HASH= sha256:e34cf60cffc80aa1322d2c3a9b81e662c2576d2b03e53ddf1079615634e6f553
37 COMPONENT_FMRI= benchmark/iperf3
38 COMPONENT_CLASSIFICATION= Applications/System Utilities
39 COMPONENT_LICENSE= BSD-like
40 COMPONENT_LICENSE_FILE= LICENSE
42 TEST_TARGET= $(NO_TESTS)
43 include $(WS_MAKE_RULES)/common.mk
45 COMPONENT_PRE_CONFIGURE_ACTION = \
46 ($(CLONEY) $(SOURCE_DIR) $(@D))
48 CONFIGURE_OPTIONS += --enable-static=no
50 # Auto-generated dependencies
51 REQUIRED_PACKAGES += system/library
52 REQUIRED_PACKAGES += system/library/math