You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/smtpclient-for-qt.mk

31 lines
1.1 KiB

# 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 := f715bb9
$(PKG)_CHECKSUM := 1cb7c8df3b29ce1a3c9e557a74a70f69872f5f42c6b28360eaeb434f5208781a
$(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