Move all to deprecated folder.
This commit is contained in:
31
deprecated/firmware/buildroot/package/neard/Config.in
Normal file
31
deprecated/firmware/buildroot/package/neard/Config.in
Normal file
@@ -0,0 +1,31 @@
|
||||
config BR2_PACKAGE_NEARD
|
||||
bool "neard"
|
||||
depends on BR2_USE_WCHAR # libglib2
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libnl, dbus, libglib2
|
||||
depends on BR2_USE_MMU # dbus, libglib2
|
||||
depends on !BR2_STATIC_LIBS # dlopen
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
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...
|
||||
|
||||
if BR2_PACKAGE_NEARD
|
||||
|
||||
config BR2_PACKAGE_NEARD_TOOLS
|
||||
bool "neard tools"
|
||||
help
|
||||
Build and install neard tools.
|
||||
|
||||
endif
|
||||
|
||||
comment "neard needs a toolchain w/ wchar, threads, dynamic library"
|
||||
depends on BR2_USE_MMU
|
||||
depends on BR2_TOOLCHAIN_HAS_SYNC_4
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
|
||||
33
deprecated/firmware/buildroot/package/neard/S53neard
Executable file
33
deprecated/firmware/buildroot/package/neard/S53neard
Executable file
@@ -0,0 +1,33 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# Starts neard
|
||||
#
|
||||
|
||||
NAME=neard
|
||||
DAEMON=/usr/libexec/nfc/$NAME
|
||||
|
||||
# Exit gracefully if the package has been removed
|
||||
[ -x $DAEMON ] || exit 0
|
||||
|
||||
case "$1" in
|
||||
start)
|
||||
printf "Starting $NAME: "
|
||||
start-stop-daemon -S -q -p /var/run/${NAME}.pid -x $DAEMON -- -d '*'
|
||||
echo "OK"
|
||||
;;
|
||||
stop)
|
||||
printf "Stopping $NAME: "
|
||||
start-stop-daemon -K -q -p /var/run/${NAME}.pid
|
||||
echo "OK"
|
||||
;;
|
||||
restart|reload)
|
||||
$0 stop
|
||||
sleep 1
|
||||
$0 start
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {start|stop|restart}"
|
||||
exit 1
|
||||
esac
|
||||
|
||||
exit $?
|
||||
2
deprecated/firmware/buildroot/package/neard/neard.hash
Normal file
2
deprecated/firmware/buildroot/package/neard/neard.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# From https://www.kernel.org/pub/linux/network/nfc/sha256sums.asc
|
||||
sha256 6ea724b443d39d679168fc7776a965d1f64727c3735391df2c01469ee7cd8cca neard-0.14.tar.xz
|
||||
25
deprecated/firmware/buildroot/package/neard/neard.mk
Normal file
25
deprecated/firmware/buildroot/package/neard/neard.mk
Normal file
@@ -0,0 +1,25 @@
|
||||
################################################################################
|
||||
#
|
||||
# neard
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NEARD_VERSION = 0.14
|
||||
NEARD_SOURCE = neard-$(NEARD_VERSION).tar.xz
|
||||
NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
|
||||
NEARD_LICENSE = GPLv2
|
||||
NEARD_LICENSE_FILES = COPYING
|
||||
|
||||
NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
|
||||
NEARD_CONF_OPTS = --disable-traces
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y)
|
||||
NEARD_CONF_OPTS += --enable-tools
|
||||
endif
|
||||
|
||||
define NEARD_INSTALL_INIT_SYSV
|
||||
$(INSTALL) -D -m 0755 package/neard/S53neard \
|
||||
$(TARGET_DIR)/etc/init.d/S53neard
|
||||
endef
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user