python-pathvalidate: bump version to 0.14.1
[buildroot-gz.git] / package / netperf / netperf.mk
blob8b2280830f3c2304949f85c63b07438fea20a48f
1 ################################################################################
3 # netperf
5 ################################################################################
7 NETPERF_VERSION = 2.7.0
8 NETPERF_SITE = ftp://ftp.netperf.org/netperf
9 NETPERF_SOURCE = netperf-$(NETPERF_VERSION).tar.bz2
10 # gcc 5+ defaults to gnu99 which breaks netperf
11 NETPERF_CONF_ENV = \
12 ac_cv_func_setpgrp_void=set \
13 CFLAGS="$(TARGET_CFLAGS) -std=gnu89"
14 NETPERF_CONF_OPTS = --enable-demo=yes
15 NETPERF_LICENSE = netperf license
16 NETPERF_LICENSE_FILES = COPYING
18 define NETPERF_INSTALL_TARGET_CMDS
19 $(INSTALL) -m 0755 $(@D)/src/netperf \
20 $(TARGET_DIR)/usr/bin/netperf
21 $(INSTALL) -m 0755 $(@D)/src/netserver \
22 $(TARGET_DIR)/usr/bin/netserver
23 endef
25 $(eval $(autotools-package))