summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
Diffstat (limited to 'package')
-rw-r--r--package/Config.in1
-rw-r--r--package/liboping/Config.in11
-rw-r--r--package/liboping/liboping.mk13
3 files changed, 25 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index bbb2cd5bf..c34e61a23 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -405,6 +405,7 @@ source "package/libmbus/Config.in"
source "package/libnetfilter_conntrack/Config.in"
source "package/libnfnetlink/Config.in"
source "package/libnl/Config.in"
+source "package/liboping/Config.in"
source "package/libpcap/Config.in"
source "package/libosip2/Config.in"
source "package/librsync/Config.in"
diff --git a/package/liboping/Config.in b/package/liboping/Config.in
new file mode 100644
index 000000000..04e0e0d9e
--- /dev/null
+++ b/package/liboping/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_LIBOPING
+ bool "liboping"
+ depends on BR2_INET_IPV6
+ help
+ liboping is a C library to generate ICMP echo requests,
+ better known as "ping packets".
+
+ http://verplant.org/liboping/
+
+comment "liboping requires a toolchain with IPv6 support enabled"
+ depends on !BR2_INET_IPV6
diff --git a/package/liboping/liboping.mk b/package/liboping/liboping.mk
new file mode 100644
index 000000000..e0d892b1c
--- /dev/null
+++ b/package/liboping/liboping.mk
@@ -0,0 +1,13 @@
+#############################################################
+#
+# liboping
+#
+#############################################################
+
+LIBOPING_VERSION = 1.6.2
+LIBOPING_SITE = http://verplant.org/liboping/files
+LIBOPING_INSTALL_STAGING = YES
+LIBOPING_DEPENDENCIES = $(if $(BR2_PACKAGE_NCURSES),ncurses)
+LIBOPING_CONF_OPT = --without-perl-bindings
+
+$(eval $(call AUTOTARGETS))