gst1-plugins-base: bump to version 1.10.4
[buildroot-gz.git] / package / qt5 / qt5script / qt5script.mk
blob57ba6f00721c7bc46031eb3a1b76ec9b1e6b81a5
1 ################################################################################
3 # qt5script
5 ################################################################################
7 QT5SCRIPT_VERSION = $(QT5_VERSION)
8 QT5SCRIPT_SITE = $(QT5_SITE)
9 QT5SCRIPT_SOURCE = qtscript-opensource-src-$(QT5SCRIPT_VERSION).tar.xz
10 QT5SCRIPT_DEPENDENCIES = qt5base
11 QT5SCRIPT_INSTALL_STAGING = YES
13 ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y)
14 QT5SCRIPT_LICENSE = GPLv3 or LGPLv2.1 with exception or LGPLv3, GFDLv1.3 (docs)
15 QT5SCRIPT_LICENSE_FILES = LICENSE.GPLv3 LICENSE.LGPLv21 LGPL_EXCEPTION.txt LICENSE.LGPLv3 LICENSE.FDL
16 else
17 QT5SCRIPT_LICENSE = Commercial license
18 QT5SCRIPT_REDISTRIBUTE = NO
19 endif
21 define QT5SCRIPT_CONFIGURE_CMDS
22 (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake)
23 endef
25 define QT5SCRIPT_BUILD_CMDS
26 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D)
27 endef
29 define QT5SCRIPT_INSTALL_STAGING_CMDS
30 $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install
31 $(QT5_LA_PRL_FILES_FIXUP)
32 endef
34 ifeq ($(BR2_STATIC_LIBS),)
35 define QT5SCRIPT_INSTALL_TARGET_CMDS
36 cp -dpf $(STAGING_DIR)/usr/lib/libQt5Script*.so.* $(TARGET_DIR)/usr/lib
37 endef
38 endif
40 $(eval $(generic-package))