blob: b09d5d1bef229046dbc6eb7bc18692c7ef5fdcf7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# This file is part of MXE. See LICENSE.md for licensing information.
PKG := smtpclient-for-qt
$(PKG)_WEBSITE := https://github.com/bluetiger9/SmtpClient-for-Qt/
$(PKG)_DESCR := SmtpClient-for-Qt
$(PKG)_IGNORE :=
$(PKG)_VERSION := 1f4f2e2
$(PKG)_CHECKSUM := 4be4a91f0ff943766ebdde8bd227c747c132710909d091dd44d1e8aaffb99608
$(PKG)_GH_CONF := bluetiger9/SmtpClient-for-Qt/branches/v1.1
$(PKG)_DEPS := cc qtbase
define $(PKG)_BUILD
cd '$(1)' && '$(PREFIX)/$(TARGET)/qt5/bin/qmake' \
-after \
'CONFIG -= dll' \
'CONFIG += create_prl create_pc' \
'static:DEFINES += SMTPEXPORTS_H SMTP_EXPORT=' \
'QMAKE_PKGCONFIG_DESTDIR = pkgconfig' \
'DESTDIR =' \
'DLLDESTDIR =' \
'headers.path = $$$$[QT_INSTALL_HEADERS]' \
'headers.files = $$$$HEADERS' \
'win32:dlltarget.path = $$$$[QT_INSTALL_BINS]' \
'target.path = $$$$[QT_INSTALL_LIBS]' \
'!static:win32:target.CONFIG = no_dll' \
'win32:INSTALLS += dlltarget' \
'INSTALLS += target headers'
$(MAKE) -C '$(1)' -j '$(JOBS)'
$(MAKE) -C '$(1)' -j 1 install
endef
|