liboping: new package
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Fri, 11 May 2012 03:29:30 +0000 (03:29 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Mon, 14 May 2012 20:26:06 +0000 (22:26 +0200)
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/liboping/Config.in [new file with mode: 0644]
package/liboping/liboping.mk [new file with mode: 0644]

index bbb2cd5bf1ea542dc1f0e87eb58f2cfe07a24f30..c34e61a23233b9c4840accd08e5ebe2bfc2375df 100644 (file)
@@ -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 (file)
index 0000000..04e0e0d
--- /dev/null
@@ -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 (file)
index 0000000..e0d892b
--- /dev/null
@@ -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))