mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-10 19:12:33 +08:00
43 lines
1.1 KiB
Makefile
43 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2014 OpenWrt-dist
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=tcping
|
|
PKG_VERSION:=0.3
|
|
PKG_RELEASE:=2
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://github.com/Mattraks/tcping.git
|
|
PKG_MIRROR_HASH:=2af5100ba3ab1a6a4460da3a21d16a96d3b08b656276a9fa321d58ef95bb57b0
|
|
PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION)
|
|
PKG_SOURCE_VERSION:=de2b709f8c386507678041d11102c671d470fea7
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.gz
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(BUILD_VARIANT)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/tcping
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
TITLE:=tcping measures the latency of a tcp-connection
|
|
URL:=https://github.com/jlyo/tcping
|
|
endef
|
|
|
|
define Package/tcping/description
|
|
endef
|
|
|
|
define Package/tcping/conffiles
|
|
endef
|
|
|
|
define Package/tcping/install
|
|
$(INSTALL_DIR) $(1)/usr/sbin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tcping $(1)/usr/sbin
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,tcping))
|