All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joris Lijssens <joris.lijssens@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot]  [PATCH v2 1/1] libcoap: new package
Date: Mon, 30 May 2016 16:15:34 +0200	[thread overview]
Message-ID: <1464617734-24139-1-git-send-email-joris.lijssens@gmail.com> (raw)

Signed-off-by: Joris Lijssens <joris.lijssens@gmail.com>
---
Changes v1 -> v2:
 - Fix typo in libcoap.mk

 package/Config.in            |  1 +
 package/libcoap/Config.in    | 10 ++++++++++
 package/libcoap/libcoap.hash |  2 ++
 package/libcoap/libcoap.mk   | 21 +++++++++++++++++++++
 4 files changed, 34 insertions(+)
 create mode 100644 package/libcoap/Config.in
 create mode 100644 package/libcoap/libcoap.hash
 create mode 100644 package/libcoap/libcoap.mk

diff --git a/package/Config.in b/package/Config.in
index 9d668bf..db78939 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -1122,6 +1122,7 @@ menu "Networking"
 	source "package/ibrdtn/Config.in"
 	source "package/libcgi/Config.in"
 	source "package/libcgicc/Config.in"
+	source "package/libcoap/Config.in"
 	source "package/libcurl/Config.in"
 	source "package/libdnet/Config.in"
 	source "package/libeXosip2/Config.in"
diff --git a/package/libcoap/Config.in b/package/libcoap/Config.in
new file mode 100644
index 0000000..7aea348
--- /dev/null
+++ b/package/libcoap/Config.in
@@ -0,0 +1,10 @@
+config BR2_PACKAGE_LIBCOAP
+	bool "libcoap"
+	help
+	 libcoap is a C implementation of a lightweight application-protocol
+	 for devices that are constrained their resources such as computing
+	 power, RF range, memory, bandwith, or network packet sizes. This
+	 protocol, CoAP, is standardized by the IETF as RFC 7252. For further
+	 information related to CoAP, see <http://coap.technology>.
+
+	 https://github.com/obgm/libcoap
diff --git a/package/libcoap/libcoap.hash b/package/libcoap/libcoap.hash
new file mode 100644
index 0000000..dce491b
--- /dev/null
+++ b/package/libcoap/libcoap.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 f66e91742c2b027fcd7c575d8e7b53d79d3624aad1b3baba481dd88f6e2bc44d libcoap-c909bf802034b7762a2182848304b2530e58444f.tar.gz
diff --git a/package/libcoap/libcoap.mk b/package/libcoap/libcoap.mk
new file mode 100644
index 0000000..320582f
--- /dev/null
+++ b/package/libcoap/libcoap.mk
@@ -0,0 +1,21 @@
+################################################################################
+#
+# libcoap
+#
+################################################################################
+
+LIBCOAP_VERSION = c909bf802034b7762a2182848304b2530e58444f
+LIBCOAP_SITE = $(call github,obgm,libcoap,$(LIBCOAP_VERSION))
+LIBCOAP_INSTALL_STAGING = YES
+LIBCOAP_LICENSE = GPLv2, BSD-2c
+LIBCOAP_LICENSE_FILES = LICENSE.GPL LICENSE.BSD
+LIBCOAP_CONF_OPTS += --with-shared --disable-examples
+
+# This package uses autoconf, but not automake, so we need to call
+# their special autogen.sh script.
+define LIBCOAP_RUN_AUTOGEN
+	cd $(@D) && PATH=$(BR_PATH) ./autogen.sh
+endef
+LIBCOAP_PRE_CONFIGURE_HOOKS += LIBCOAP_RUN_AUTOGEN
+
+$(eval $(autotools-package))
-- 
1.8.3.1

             reply	other threads:[~2016-05-30 14:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-30 14:15 Joris Lijssens [this message]
2016-06-09 19:59 ` [Buildroot] [PATCH v2 1/1] libcoap: new package Thomas Petazzoni

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=1464617734-24139-1-git-send-email-joris.lijssens@gmail.com \
    --to=joris.lijssens@gmail.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.