dbus: bump to version 1.10.14
[buildroot-gz.git] / package / ne10 / ne10.mk
blobaeaa0413b52b6c1c72b6037e3928579b9d98a96b
1 ################################################################################
3 # ne10
5 ################################################################################
7 NE10_VERSION = v1.2.0
8 NE10_SITE = $(call github,projectNe10,Ne10,$(NE10_VERSION))
9 NE10_LICENSE = BSD-3c or Apache-2.0
10 NE10_LICENSE_FILES = doc/LICENSE
11 NE10_INSTALL_STAGING = YES
13 NE10_CONF_OPTS = -DGNULINUX_PLATFORM=ON
15 ifeq ($(BR2_STATIC_LIBS),)
16 NE10_CONF_OPTS += \
17 -DNE10_BUILD_SHARED=ON
18 endif
20 # The package does not have any install target, so have to provide
21 # INSTALL_STAGING_CMDS and INSTALL_TARGET_CMDS.
23 ifeq ($(BR2_STATIC_LIBS),)
24 define NE10_INSTALL_STAGING_SHARED_LIB
25 cp -dpf $(@D)/modules/libNE10*.so* $(STAGING_DIR)/usr/lib/
26 endef
27 endif
29 define NE10_INSTALL_STAGING_CMDS
30 cp -dpf $(@D)/inc/NE10*h $(STAGING_DIR)/usr/include/
31 cp -dpf $(@D)/modules/libNE10.a $(STAGING_DIR)/usr/lib/
32 $(NE10_INSTALL_STAGING_SHARED_LIB)
33 endef
36 define NE10_INSTALL_TARGET_CMDS
37 cp -dpf $(@D)/modules/libNE10*.so* $(TARGET_DIR)/usr/lib/
38 endef
40 $(eval $(cmake-package))