iptables: bump to version 1.6.1
[buildroot-gz.git] / package / qextserialport / qextserialport.mk
blobe3e325ce6c1d3f65365e340b94d9c650beddbced
1 ################################################################################
3 # qextserialport
5 ################################################################################
7 QEXTSERIALPORT_VERSION = ada321a9ee463f628e7b781b8ed00ff219152158
8 QEXTSERIALPORT_SITE = $(call github,qextserialport,qextserialport,$(QEXTSERIALPORT_VERSION))
9 QEXTSERIALPORT_LICENSE = MIT
10 QEXTSERIALPORT_LICENSE_FILES = LICENSE.md
11 QEXTSERIALPORT_INSTALL_STAGING = YES
13 ifeq ($(BR2_STATIC_LIBS),y)
14 QEXTSERIALPORT_CONF_OPTS += CONFIG+=qesp_static
15 endif
17 ifeq ($(BR2_PACKAGE_QT),y)
18 QEXTSERIALPORT_DEPENDENCIES += qt
19 QEXTSERIALPORT_QMAKE = $(QT_QMAKE)
20 else ifeq ($(BR2_PACKAGE_QT5),y)
21 QEXTSERIALPORT_DEPENDENCIES += qt5base
22 QEXTSERIALPORT_QMAKE = $(QT5_QMAKE)
23 endif
25 define QEXTSERIALPORT_CONFIGURE_CMDS
26 cd $(@D); $(TARGET_MAKE_ENV) $(QEXTSERIALPORT_QMAKE) $(QEXTSERIALPORT_CONF_OPTS)
27 endef
29 define QEXTSERIALPORT_BUILD_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
31 endef
33 define QEXTSERIALPORT_INSTALL_STAGING_CMDS
34 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
35 endef
37 ifeq ($(BR2_STATIC_LIBS),y)
38 QEXTSERIALPORT_INSTALL_TARGET = NO
39 else
40 define QEXTSERIALPORT_INSTALL_TARGET_CMDS
41 cp -a $(@D)/*.so.* $(TARGET_DIR)/usr/lib
42 endef
43 endif
45 $(eval $(generic-package))