diff options
author | Mark Brand <mabrand@mabrand.nl> | 2018-03-01 16:23:43 (GMT) |
---|---|---|
committer | Tony Theodore <tonyt@logyst.com> | 2018-03-12 04:11:47 (GMT) |
commit | bee074c1041e5006999991eee5c8301df1d28771 (patch) | |
tree | a1b6113dc1930968c41238a500fdcc7ccf40fbe6 | |
parent | 9e9ad633048ae2256fdab9c8e42d45795328b4f9 (diff) | |
download | mxe-bee074c1041e5006999991eee5c8301df1d28771.zip mxe-bee074c1041e5006999991eee5c8301df1d28771.tar.gz mxe-bee074c1041e5006999991eee5c8301df1d28771.tar.bz2 |
new package: smtpclient-for-qt
-rw-r--r-- | src/smtpclient-for-qt.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/smtpclient-for-qt.mk b/src/smtpclient-for-qt.mk new file mode 100644 index 0000000..2dbbb81 --- /dev/null +++ b/src/smtpclient-for-qt.mk @@ -0,0 +1,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 := ca43f9d +$(PKG)_CHECKSUM := 60bd3621d5075bbe41afd821a62a99bc1cb8b180a85f23b39f6d44d7926c9df3 +$(PKG)_GH_CONF := bluetiger9/SmtpClient-for-Qt/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 |