From: Roger Pueyo Centelles Date: Mon, 16 Oct 2017 09:56:39 +0000 (+0200) Subject: mikrotik-btest: Add package X-Git-Url: http://git.openwrt.org/?p=feed%2Fpackages.git;a=commitdiff_plain;h=8a51e7d213f47341b0c78352cd81f6e8dff42f32 mikrotik-btest: Add package mikrotik-btest is a bandwidth test client compatible with Mikrotik's RouterOS BTest server. Signed-off-by: Roger Pueyo Centelles --- diff --git a/net/mikrotik-btest/Makefile b/net/mikrotik-btest/Makefile new file mode 100644 index 0000000000..4b994e8341 --- /dev/null +++ b/net/mikrotik-btest/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (C) 2017 Roger Pueyo Centelles +# +# This is free software, licensed under the GNU General Public License v3 +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=mikrotik_btest +PKG_VERSION:=0.5.1 +PKG_RELEASE:=1 + +PKG_SOURCE_PROTO:=git +PKG_SOURCE_URL:=https://github.com/kadosch/mikrotik_btest.git +PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE_VERSION:=02a0e7df411b5e7775fe2795709996a30afb7f47 +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz +PKG_MIRROR_HASH:=f72e1c8e2d98ca9e1c6a7fba35838a4a3c25b2dcd4bd8b10b67662003b3a14d1 + +PKG_LICENSE:=GPLv3 +PKG_LICENSE_FILES:=COPYING + +include $(INCLUDE_DIR)/package.mk + +define Package/mikrotik-btest + SECTION:=net + CATEGORY:=Network + TITLE:=Bandwidth test client for Mikrotik BTest server + DEPENDS:=+libpthread +librt + URL:=https://github.com/kadosch/mikrotik_btest.git + MAINTAINER:=Roger Pueyo Centelles +endef + +define Package/mikrotik-btest/description + A bandwidth test client compatible with Mikrotik's RouterOS BTest server. +endef + +define Package/mikrotik-btest/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/mikrotik_btest $(1)/usr/bin/mikrotik_btest +endef + +$(eval $(call BuildPackage,mikrotik-btest))