blob: cc3a5cc8a4921a2be3f2676d4440a2db68058e58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
#
# Copyright (c) 2018 Tony Ambardar
# This is free software, licensed under the GNU General Public License v2.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=speedtest-netperf
PKG_VERSION:=1.0.0
PKG_RELEASE:=1
PKG_LICENSE:=GPL-2.0
PKG_MAINTAINER:=Tony Ambardar <itugrok@yahoo.com>
include $(INCLUDE_DIR)/package.mk
define Package/speedtest-netperf
SECTION:=net
CATEGORY:=Network
TITLE:=Script to measure the performance of your network and router
DEPENDS:=+netperf
CONFLICTS:=speedtest
PKGARCH:=all
endef
define Package/speedtest-netperf/description
Script to measure the performance of your network and router.
Please see https://github.com/openwrt/packages/blob/master/net/speedtest-netperf/files/README.md for further information.
endef
define Build/Prepare
endef
define Build/Configure
endef
define Build/Compile
endef
define Package/speedtest-netperf/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_BIN) ./files/speedtest-netperf.sh $(1)/usr/bin/
endef
$(eval $(call BuildPackage,speedtest-netperf))
|