raspberrypi: bump raspberrypi_dt_defconfig kernel
[buildroot-gz.git] / package / neardal / neardal.mk
blob382c42e1039b1a55e72ffa912595d5268e8c0811
1 ################################################################################
3 # neardal
5 ################################################################################
7 NEARDAL_VERSION = 33b54a55032b047fd885a5eb3592c169c0056c49
8 NEARDAL_SITE = $(call github,connectivity,neardal,$(NEARDAL_VERSION))
9 NEARDAL_INSTALL_STAGING = YES
10 NEARDAL_LICENSE = GPLv2
11 NEARDAL_LICENSE_FILES = COPYING
13 NEARDAL_DEPENDENCIES = host-pkgconf dbus dbus-glib
14 NEARDAL_AUTORECONF = YES
16 # Either readline or libedit are needed, and the Config.in file
17 # guarantees at least one of them is enabled
18 ifeq ($(BR2_PACKAGE_READLINE),y)
19 NEARDAL_DEPENDENCIES += readline
20 else ifeq ($(BR2_PACKAGE_LIBEDIT),y)
21 NEARDAL_DEPENDENCIES += libedit
22 endif
24 define NEARDAL_INSTALL_NCL
25 $(INSTALL) -m 0755 -D $(@D)/ncl/ncl $(TARGET_DIR)/usr/bin/ncl
26 endef
28 ifeq ($(BR2_PACKAGE_NEARDAL_NCL),y)
29 NEARDAL_POST_INSTALL_TARGET_HOOKS += NEARDAL_INSTALL_NCL
30 endif
32 $(eval $(autotools-package))