diff options
author | Martin Müllenhaupt <mm+git@netlair.de> | 2018-09-26 11:54:57 (GMT) |
---|---|---|
committer | Martin Müllenhaupt <mm+git@netlair.de> | 2018-09-26 11:54:57 (GMT) |
commit | cf8f74e9b8546c44f594243f61f36c5cc9cfa826 (patch) | |
tree | 0c9d82affcea3d27a3501cb6bd5673536eaa853d /src/qtifw.mk | |
parent | 1b2605524df72505e3a82208cfd9c591867d365c (diff) | |
download | mxe-cf8f74e9b8546c44f594243f61f36c5cc9cfa826.zip mxe-cf8f74e9b8546c44f594243f61f36c5cc9cfa826.tar.gz mxe-cf8f74e9b8546c44f594243f61f36c5cc9cfa826.tar.bz2 |
new package: qtifw
Diffstat (limited to 'src/qtifw.mk')
-rw-r--r-- | src/qtifw.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/qtifw.mk b/src/qtifw.mk new file mode 100644 index 0000000..e763c47 --- /dev/null +++ b/src/qtifw.mk @@ -0,0 +1,30 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := qtifw +$(PKG)_WEBSITE := https://doc.qt.io/qtinstallerframework/index.html +$(PKG)_DESCR := Qt Installer Framework +$(PKG)_IGNORE := +$(PKG)_VERSION := 3.0.4 +$(PKG)_CHECKSUM := a4ecafc37086f96a833463214f873caac977199e64f0b1453aa49bdd6f24f32e +$(PKG)_SUBDIR = qt-installer-framework-opensource-src-$($(PKG)_VERSION) +$(PKG)_FILE := $($(PKG)_SUBDIR).zip +$(PKG)_URL := https://download.qt.io/official_releases/qt-installer-framework/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := cc qtwinextras +$(PKG)_DEPS_$(BUILD) := +$(PKG)_TARGETS := $(BUILD) i686-w64-mingw32.static.posix + +define $(PKG)_BUILD_$(BUILD) + cd '$(1)' && qmake + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(INSTALL) -m755 '$(1)/bin/binarycreator' '$(PREFIX)/bin/$(TARGET)-binarycreator' + $(INSTALL) -m755 '$(1)/bin/repogen' '$(PREFIX)/bin/$(TARGET)-repogen' + $(INSTALL) -m755 '$(1)/bin/archivegen' '$(PREFIX)/bin/$(TARGET)-archivegen' + $(INSTALL) -m755 '$(1)/bin/devtool' '$(PREFIX)/bin/$(TARGET)-devtool' +endef + +define $(PKG)_BUILD + cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' + $(MAKE) -C '$(1)' -j '$(JOBS)' || $(MAKE) -C '$(1)' -j 1 + $(MAKE) -C '$(1)' -j 1 install +endef + |