summaryrefslogtreecommitdiffstats
path: root/src/qtofficeopenxml.mk
blob: 6ae72c46f857e433f55d7e052ffb09f8e3efcaa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# This file is part of MXE.
# See index.html for further information.
PKG             := qtofficeopenxml
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 02dda4a46f92a843eaba5f5a021952860eadfe01
$(PKG)_CHECKSUM := 50f989b2af404e8a9a20b46b3ca4955093ad295cb61f0cfb42fa06480d1fbad2
$(PKG)_SUBDIR   := QtOfficeOpenXml-$($(PKG)_VERSION)
$(PKG)_FILE     := $(PKG)-$($(PKG)_VERSION).tar.gz
$(PKG)_URL      := https://github.com/dbzhang800/QtOfficeOpenXml/archive/$($(PKG)_VERSION).tar.gz
$(PKG)_DEPS     := gcc qtbase

$(PKG)_UPDATE    = $(call MXE_GET_GITHUB_SHA, dbzhang800/QtOfficeOpenXml, master)

define $(PKG)_BUILD
    cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake'
    $(MAKE) -C '$(1)' -j '$(JOBS)'
    $(MAKE) -C '$(1)' -j 1 install
endef