summaryrefslogtreecommitdiff
path: root/package/liboping
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2012-05-11 03:29:30 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2012-05-14 22:26:06 +0200
commitf88b1e963ed843b04041ce6b2bb11d2da5666b9b (patch)
tree6c5fc451017078269edbb79474d72a3498c5143c /package/liboping
parentc81107265f48619cf91b3913188f81a01c82a9e8 (diff)
liboping: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/liboping')
-rw-r--r--package/liboping/Config.in11
-rw-r--r--package/liboping/liboping.mk13
2 files changed, 24 insertions, 0 deletions
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))