2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-02-18 16:49:27 +01:00
|
|
|
#
|
|
|
|
# netperf
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2010-02-18 16:49:27 +01:00
|
|
|
|
2013-04-13 16:23:40 +02:00
|
|
|
NETPERF_VERSION = 2.6.0
|
2010-02-18 16:49:27 +01:00
|
|
|
NETPERF_SITE = ftp://ftp.netperf.org/netperf
|
|
|
|
NETPERF_CONF_ENV = ac_cv_func_setpgrp_void=set
|
2013-04-15 04:50:47 +02:00
|
|
|
NETPERF_LICENSE = netperf license
|
|
|
|
NETPERF_LICENSE_FILES = COPYING
|
2010-02-18 16:49:27 +01:00
|
|
|
|
2010-09-01 23:25:02 +02:00
|
|
|
define NETPERF_INSTALL_TARGET_CMDS
|
|
|
|
$(INSTALL) -m 0755 $(@D)/src/netperf \
|
2010-02-18 16:49:27 +01:00
|
|
|
$(TARGET_DIR)/usr/bin/netperf
|
2010-09-01 23:25:02 +02:00
|
|
|
$(INSTALL) -m 0755 $(@D)/src/netserver \
|
2010-02-18 16:49:27 +01:00
|
|
|
$(TARGET_DIR)/usr/bin/netserver
|
2010-09-01 23:25:02 +02:00
|
|
|
endef
|
2010-02-18 16:49:27 +01:00
|
|
|
|
2010-09-01 23:25:02 +02:00
|
|
|
define NETPERF_UNINSTALL_TARGET_CMDS
|
2010-02-18 16:49:27 +01:00
|
|
|
rm -f $(TARGET_DIR)/usr/bin/netperf
|
|
|
|
rm -f $(TARGET_DIR)/usr/bin/netserver
|
2010-09-01 23:25:02 +02:00
|
|
|
endef
|
|
|
|
|
2012-07-03 00:07:32 +02:00
|
|
|
$(eval $(autotools-package))
|