neard: new package
authorSimon Dawson <spdawson@gmail.com>
Wed, 5 Dec 2012 08:39:07 +0000 (08:39 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 5 Dec 2012 19:14:40 +0000 (11:14 -0800)
[Peter: add toolchain dependencies for libglib2/libnl/dbus + host-pkgconf]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/neard/Config.in [new file with mode: 0644]
package/neard/neard.mk [new file with mode: 0644]

index ae94705c3cadebb31a2e9be49bd01f0b91ebca77..40ca8e682583d76a4e83b89df4b7ac94feb19b81 100644 (file)
@@ -237,6 +237,7 @@ source "package/mdadm/Config.in"
 source "package/memtester/Config.in"
 source "package/minicom/Config.in"
 source "package/nanocom/Config.in"
+source "package/neard/Config.in"
 source "package/ofono/Config.in"
 source "package/open2300/Config.in"
 source "package/openocd/Config.in"
diff --git a/package/neard/Config.in b/package/neard/Config.in
new file mode 100644 (file)
index 0000000..bcf6171
--- /dev/null
@@ -0,0 +1,18 @@
+config BR2_PACKAGE_NEARD
+       bool "neard"
+       depends on BR2_USE_WCHAR # libglib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # libnl / dbus
+       depends on BR2_USE_MMU # dbus
+       select BR2_PACKAGE_DBUS
+       select BR2_PACKAGE_LIBGLIB2
+       select BR2_PACKAGE_LIBNL
+       help
+         Near Field Communication (NFC) manager. This userspace daemon is
+         a part of the NFC stack provided by the Linux NFC project.
+
+         http://git.kernel.org/?p=network/nfc/neard.git;a=summary
+
+         https://01.org/linux-nfc/documentation/how-start-linux-nfc-code...
+
+comment "neard requires a toolchain with WCHAR and threads support"
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/neard/neard.mk b/package/neard/neard.mk
new file mode 100644 (file)
index 0000000..2d3e30e
--- /dev/null
@@ -0,0 +1,14 @@
+#############################################################
+#
+# neard
+#
+#############################################################
+NEARD_VERSION = 0.8
+NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
+NEARD_LICENSE = GPLv2
+NEARD_LICENSE_FILES = COPYING
+
+NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
+NEARD_CONF_OPT = --disable-traces
+
+$(eval $(autotools-package))