summaryrefslogtreecommitdiffstats
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
parentc81107265f48619cf91b3913188f81a01c82a9e8 (diff)
downloadbuildroot-novena-f88b1e963ed843b04041ce6b2bb11d2da5666b9b.tar.gz
buildroot-novena-f88b1e963ed843b04041ce6b2bb11d2da5666b9b.zip
liboping: new package
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-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))