Andreas Wacknitz
2024-04-04 8590298b09ebad29af56370cd23105cd0931b389
commit | author | age
a52052 1 #
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.
5 #
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.
9 #
10
11 #
12 # Copyright 2016 Adam Stevko
13 #
14
0822cb 15 BUILD_STYLE=configure
AL 16 BUILD_BITS=64
a52052 17 include ../../../make-rules/shared-macros.mk
18
0822cb 19 COMPONENT_NAME=         netperf
AL 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)
b46429 29 COMPONENT_ARCHIVE_HASH= sha256:4569bafa4cca3d548eb96a486755af40bd9ceb6ab7c6abd81cc6aa4875007c4e
0822cb 30 COMPONENT_LICENSE=      HP
a52052 31
0822cb 32 include $(WS_MAKE_RULES)/common.mk
b46429 33
0822cb 34 CFLAGS+= -std=gnu89 -fcommon
a52052 35
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
49
50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += system/library/math