2010-02-18 16:49:27 +01:00
|
|
|
#############################################################
|
|
|
|
#
|
|
|
|
# netperf
|
|
|
|
#
|
|
|
|
#############################################################
|
|
|
|
|
2012-01-26 17:51:24 +01:00
|
|
|
NETPERF_VERSION = 2.5.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
|
|
|
|
|
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))
|