immortalwrt/package/lienol/tcping/Makefile

41 lines
925 B
Makefile
Raw Normal View History

2020-02-22 13:35:32 +08:00
#
# Copyright (C) 2021 ImmortalWrt
# <https://immortalwrt.org>
2020-02-22 13:35:32 +08:00
#
# This is free software, licensed under the GNU General Public License v3.
2020-02-22 13:35:32 +08:00
# See /LICENSE for more information.
#
2019-12-07 17:12:35 +08:00
include $(TOPDIR)/rules.mk
PKG_NAME:=tcping
2020-07-05 20:21:08 +08:00
PKG_VERSION:=0.3
PKG_RELEASE:=2
2019-12-07 17:12:35 +08:00
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/Mattraks/tcping.git
PKG_SOURCE_DATE:=2020-11-18
PKG_SOURCE_VERSION:=de2b709f8c386507678041d11102c671d470fea7
PKG_MIRROR_HASH:=07359ac47f0da4fb30215e5160f7c0c942f0a4af4e7b2e2d2b4ffd9769823054
PKG_LICENSE:=GPL-2.0
PKG_LICENSE_FILE:=LICENSE
PKG_BUILD_PARALLEL:=1
2019-12-07 17:12:35 +08:00
include $(INCLUDE_DIR)/package.mk
define Package/tcping
2020-02-22 13:35:32 +08:00
SECTION:=net
CATEGORY:=Network
TITLE:=tcping measures the latency of a tcp-connection
URL:=https://github.com/jlyo/tcping
2019-12-07 17:12:35 +08:00
endef
define Package/tcping/install
2020-02-22 13:35:32 +08:00
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/tcping $(1)/usr/sbin
2019-12-07 17:12:35 +08:00
endef
$(eval $(call BuildPackage,tcping))