From: Markus Pargmann <mpa@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Markus Pargmann <mpa@pengutronix.de>
Subject: [ptxdist] [PATCH v4 3/4] liboping: initial commit
Date: Thu, 26 Jun 2014 15:24:40 +0200 [thread overview]
Message-ID: <1403789081-30905-3-git-send-email-mpa@pengutronix.de> (raw)
In-Reply-To: <1403789081-30905-1-git-send-email-mpa@pengutronix.de>
Signed-off-by: Markus Pargmann <mpa@pengutronix.de>
---
rules/liboping.in | 7 +++++++
rules/liboping.make | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 67 insertions(+)
create mode 100644 rules/liboping.in
create mode 100644 rules/liboping.make
diff --git a/rules/liboping.in b/rules/liboping.in
new file mode 100644
index 000000000000..b2c42cb0777b
--- /dev/null
+++ b/rules/liboping.in
@@ -0,0 +1,7 @@
+## SECTION=networking
+
+config LIBOPING
+ tristate
+ prompt "liboping"
+ help
+ C library to generate ICMP requests
diff --git a/rules/liboping.make b/rules/liboping.make
new file mode 100644
index 000000000000..5923432869e2
--- /dev/null
+++ b/rules/liboping.make
@@ -0,0 +1,60 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2014 by Markus Pargmann <mpa@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBOPING) += liboping
+
+#
+# Paths and names
+#
+LIBOPING_VERSION := 1.6.2
+LIBOPING_MD5 := 6f3e0d38ea03362476ac3be8b3fd961e
+LIBOPING := liboping-$(LIBOPING_VERSION)
+LIBOPING_SUFFIX := tar.gz
+LIBOPING_URL := http://verplant.org/liboping/files//$(LIBOPING).$(LIBOPING_SUFFIX)
+LIBOPING_SOURCE := $(SRCDIR)/$(LIBOPING).$(LIBOPING_SUFFIX)
+LIBOPING_DIR := $(BUILDDIR)/$(LIBOPING)
+LIBOPING_LICENSE := LGPLv2.1+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LIBOPING_CONF_TOOL := autoconf
+LIBOPING_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ --disable-static \
+ --without-perl-bindings
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/liboping.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, liboping)
+ @$(call install_fixup, liboping,PRIORITY,optional)
+ @$(call install_fixup, liboping,SECTION,base)
+ @$(call install_fixup, liboping,AUTHOR,"Markus Pargmann <mpa@pengutronix.de>")
+ @$(call install_fixup, liboping,DESCRIPTION,missing)
+
+ @$(call install_lib, liboping, 0, 0, 0644, liboping)
+
+ @$(call install_finish, liboping)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.0.0
--
ptxdist mailing list
ptxdist@pengutronix.de
next prev parent reply other threads:[~2014-06-26 13:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-26 13:24 [ptxdist] [PATCH v4 1/4] radvd: Initial commit Markus Pargmann
2014-06-26 13:24 ` [ptxdist] [PATCH v4 2/4] alfred: " Markus Pargmann
2014-06-26 13:24 ` Markus Pargmann [this message]
2014-06-26 13:24 ` [ptxdist] [PATCH v4 4/4] collectd: " Markus Pargmann
2014-06-26 13:56 ` Alexander Dahl
2014-06-30 8:56 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1403789081-30905-3-git-send-email-mpa@pengutronix.de \
--to=mpa@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox