perl/Test-Simple: update to 1.302205
[oi-userland.git] / components / sysutils / netperf / Makefile
blob1b41adec34c6523211a86a982239fe3623759d87
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 Adam Stevko
15 BUILD_STYLE=configure
16 BUILD_BITS=64
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= netperf
20 COMPONENT_VERSION= 2.7.0
21 COMPONENT_REVISION= 2
22 COMPONENT_SUMMARY= Netperf is a benchmark that can be used to measure the performance of many different types of networking.
23 COMPONENT_PROJECT_URL= http://www.netperf.org/netperf/
24 COMPONENT_FMRI= benchmark/netperf
25 COMPONENT_CLASSIFICATION=Applications/System Utilities
26 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_NAME)-$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.gz
28 COMPONENT_ARCHIVE_URL= https://github.com/HewlettPackard/netperf/archive/$(COMPONENT_ARCHIVE)
29 COMPONENT_ARCHIVE_HASH= sha256:4569bafa4cca3d548eb96a486755af40bd9ceb6ab7c6abd81cc6aa4875007c4e
30 COMPONENT_LICENSE= HP
32 include $(WS_MAKE_RULES)/common.mk
34 CFLAGS+= -std=gnu89 -fcommon
36 CONFIGURE_OPTIONS+= --enable-histogram
37 CONFIGURE_OPTIONS+= --enable-dirty
38 CONFIGURE_OPTIONS+= --enable-demo
39 CONFIGURE_OPTIONS+= --enable-unixdomain
40 CONFIGURE_OPTIONS+= --enable-dlpi
41 CONFIGURE_OPTIONS+= --enable-omni
42 CONFIGURE_OPTIONS+= --enable-xti
43 CONFIGURE_OPTIONS+= --enable-exs
44 CONFIGURE_OPTIONS+= --enable-sctp
45 CONFIGURE_OPTIONS+= --enable-intervals
46 CONFIGURE_OPTIONS+= --enable-spin
47 CONFIGURE_OPTIONS+= --enable-burst
48 CONFIGURE_OPTIONS+= --enable-cpuutil=kstat
50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += system/library/math