neardal: new package
authorSimon Dawson <spdawson@gmail.com>
Wed, 5 Dec 2012 08:40:23 +0000 (08:40 +0000)
committerPeter Korsgaard <jacmet@sunsite.dk>
Wed, 5 Dec 2012 19:22:48 +0000 (11:22 -0800)
[Peter: add toolchain deps for dbus. add dbus/host-pkgconf, wrap help text]
Signed-off-by: Simon Dawson <spdawson@gmail.com>
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Tested-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
  (built-test on a minimal powerpc config)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/neardal/Config.in [new file with mode: 0644]
package/neardal/neardal.mk [new file with mode: 0644]

index 40ca8e682583d76a4e83b89df4b7ac94feb19b81..74e439ea161793c41e2a0b98b696c38b9251c681 100644 (file)
@@ -424,6 +424,7 @@ source "package/libusb/Config.in"
 source "package/libusb-compat/Config.in"
 source "package/libv4l/Config.in"
 source "package/mtdev/Config.in"
+source "package/neardal/Config.in"
 source "package/pcsc-lite/Config.in"
 endmenu
 
diff --git a/package/neardal/Config.in b/package/neardal/Config.in
new file mode 100644 (file)
index 0000000..045ccee
--- /dev/null
@@ -0,0 +1,15 @@
+config BR2_PACKAGE_NEARDAL
+       bool "neardal"
+       depends on BR2_USE_WCHAR # glib2
+       depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
+       depends on BR2_USE_MMU # dbus
+       select BR2_PACKAGE_DBUS
+       select BR2_PACKAGE_DBUS_GLIB
+       help
+         Provides a simple C API to exchange data with the neard NFC
+         manager daemon.
+
+         https://github.com/connectivity/neardal
+
+comment "neardal requires a toolchain with WCHAR and threads support"
+       depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/neardal/neardal.mk b/package/neardal/neardal.mk
new file mode 100644 (file)
index 0000000..66b729d
--- /dev/null
@@ -0,0 +1,16 @@
+#############################################################
+#
+# neardal
+#
+#############################################################
+NEARDAL_VERSION = 0.7
+NEARDAL_SITE = http://github.com/connectivity/neardal/tarball/$(NEARDAL_VERSION)
+NEARDAL_SOURCE = connectivity-neardal-$(NEARDAL_VERSION).tar.gz
+NEARDAL_INSTALL_STAGING = YES
+NEARDAL_LICENSE = GPLv2
+NEARDAL_LICENSE_FILES = COPYING
+
+NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib
+NEARDAL_AUTORECONF = YES
+
+$(eval $(autotools-package))