2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-12-05 09:39:07 +01:00
|
|
|
#
|
|
|
|
# neard
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-01-30 23:16:04 +01:00
|
|
|
|
2017-09-13 12:41:51 +02:00
|
|
|
NEARD_VERSION = 0.16
|
2013-09-06 08:14:15 +02:00
|
|
|
NEARD_SOURCE = neard-$(NEARD_VERSION).tar.xz
|
2012-12-05 09:39:07 +01:00
|
|
|
NEARD_SITE = $(BR2_KERNEL_MIRROR)/linux/network/nfc
|
2017-03-30 15:43:32 +02:00
|
|
|
NEARD_LICENSE = GPL-2.0
|
2012-12-05 09:39:07 +01:00
|
|
|
NEARD_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
NEARD_DEPENDENCIES = host-pkgconf dbus libglib2 libnl
|
2014-09-27 21:32:44 +02:00
|
|
|
NEARD_CONF_OPTS = --disable-traces
|
2012-12-05 09:39:07 +01:00
|
|
|
|
2013-04-26 03:25:48 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_NEARD_TOOLS),y)
|
2015-03-31 09:21:57 +02:00
|
|
|
NEARD_CONF_OPTS += --enable-tools
|
2013-04-26 03:25:48 +02:00
|
|
|
endif
|
|
|
|
|
2017-09-13 12:41:51 +02:00
|
|
|
ifeq ($(BR2_INIT_SYSTEMD),y)
|
|
|
|
NEARD_CONF_OPTS += --enable-systemd
|
|
|
|
NEARD_DEPENDENCIES += systemd
|
|
|
|
else
|
|
|
|
NEARD_CONF_OPTS += --disable-systemd
|
|
|
|
endif
|
|
|
|
|
2013-05-27 01:16:55 +02:00
|
|
|
define NEARD_INSTALL_INIT_SYSV
|
|
|
|
$(INSTALL) -D -m 0755 package/neard/S53neard \
|
|
|
|
$(TARGET_DIR)/etc/init.d/S53neard
|
|
|
|
endef
|
|
|
|
|
2012-12-05 09:39:07 +01:00
|
|
|
$(eval $(autotools-package))
|