aboutsummaryrefslogtreecommitdiff
path: root/package/tcping/tcping.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/tcping/tcping.mk')
-rw-r--r--package/tcping/tcping.mk21
1 files changed, 21 insertions, 0 deletions
diff --git a/package/tcping/tcping.mk b/package/tcping/tcping.mk
new file mode 100644
index 0000000000..ff43490c81
--- /dev/null
+++ b/package/tcping/tcping.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# tcping
+#
+################################################################################
+
+TCPING_VERSION = 1.3.5
+TCPING_SITE = http://www.linuxco.de/tcping
+TCPING_LICENSE = GPLv3+
+TCPING_LICENSE_FILES = LICENSE
+
+define TCPING_BUILD_CMDS
+ $(MAKE) CC="$(TARGET_CC)" CCFLAGS="$(TARGET_CFLAGS) $(TARGET_LDFLAGS)" \
+ -C $(@D) tcping.linux
+endef
+
+define TCPING_INSTALL_TARGET_CMDS
+ $(INSTALL) -D -m 0755 $(@D)/tcping $(TARGET_DIR)/usr/bin/tcping
+endef
+
+$(eval $(generic-package))