Patchwork libnfc-llcp: new package

login
register
mail settings
Submitter Simon Dawson
Date July 18, 2012, 5:11 p.m.
Message ID <1342631511-3427-1-git-send-email-spdawson@gmail.com>
Download mbox | patch
Permalink /patch/171761/
State Accepted
Headers show

Comments

Simon Dawson - July 18, 2012, 5:11 p.m.
From: Simon Dawson <spdawson@gmail.com>

This patch adds the libnfc-llcp package.

This package requires a minium libnfc version of 1.6. A separate patch has
been submitted to bump the libnfc version; that patch should be regarded as
a prerequisite for the present patch.

Signed-off-by: Simon Dawson <spdawson@gmail.com>
---
 package/Config.in                  |    1 +
 package/libnfc-llcp/Config.in      |    8 ++++++++
 package/libnfc-llcp/libnfc-llcp.mk |   14 ++++++++++++++
 3 files changed, 23 insertions(+)
 create mode 100644 package/libnfc-llcp/Config.in
 create mode 100644 package/libnfc-llcp/libnfc-llcp.mk
Thomas Petazzoni - July 20, 2012, 8:03 a.m.
Le Wed, 18 Jul 2012 18:11:51 +0100,
spdawson@gmail.com a écrit :

> From: Simon Dawson <spdawson@gmail.com>
> 
> This patch adds the libnfc-llcp package.
> 
> This package requires a minium libnfc version of 1.6. A separate patch has
> been submitted to bump the libnfc version; that patch should be regarded as
> a prerequisite for the present patch.
> 
> Signed-off-by: Simon Dawson <spdawson@gmail.com>

Applied, thanks.

Thomas

Patch

diff --git a/package/Config.in b/package/Config.in
index 8529777..7b73ff4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -375,6 +375,7 @@  source "package/libftdi/Config.in"
 source "package/libhid/Config.in"
 source "package/libiqrf/Config.in"
 source "package/libnfc/Config.in"
+source "package/libnfc-llcp/Config.in"
 source "package/libusb/Config.in"
 source "package/libusb-compat/Config.in"
 source "package/libv4l/Config.in"
diff --git a/package/libnfc-llcp/Config.in b/package/libnfc-llcp/Config.in
new file mode 100644
index 0000000..d59976a
--- /dev/null
+++ b/package/libnfc-llcp/Config.in
@@ -0,0 +1,8 @@ 
+config BR2_PACKAGE_LIBNFC_LLCP
+	bool "libnfc-llcp"
+	select BR2_PACKAGE_LIBNFC
+	help
+	  Library extending libnfc with support for Logical Link Control
+	  Protocol.
+
+	  http://code.google.com/p/nfc-tools/source/browse/trunk/libnfc-llcp/
diff --git a/package/libnfc-llcp/libnfc-llcp.mk b/package/libnfc-llcp/libnfc-llcp.mk
new file mode 100644
index 0000000..57821c1
--- /dev/null
+++ b/package/libnfc-llcp/libnfc-llcp.mk
@@ -0,0 +1,14 @@ 
+#############################################################
+#
+# libnfc-llcp
+#
+#############################################################
+LIBNFC_LLCP_VERSION = 1090
+LIBNFC_LLCP_SITE = http://nfc-tools.googlecode.com/svn/trunk/libnfc-llcp/
+LIBNFC_LLCP_SITE_METHOD = svn
+LIBNFC_LLCP_DEPENDENCIES = libnfc
+LIBNFC_LLCP_AUTORECONF = YES
+LIBNFC_LLCP_AUTORECONF_OPT = --install --force --verbose
+LIBNFC_LLCP_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))