summaryrefslogtreecommitdiffstats
path: root/src/qtofficeopenxml.mk
blob: 16445a3f62d3bac83d0f4025f05bb9b5aa4a2d0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# This file is part of MXE. See LICENSE.md for licensing information.
PKG             := qtofficeopenxml
$(PKG)_WEBSITE  := https://github.com/dbzhang800/QtOfficeOpenXml/
$(PKG)_DESCR    := 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