diff options
author | andrew-strong <andrew-strong@users.noreply.github.com> | 2016-11-14 07:33:08 (GMT) |
---|---|---|
committer | Andrew Strong <andrew.david.strong@gmail.com> | 2016-11-19 21:18:28 (GMT) |
commit | 478aa5f21dad7f8fe167fe7bc508c3dca3e533d3 (patch) | |
tree | cb865dbd15706c96b5ef5bf5592bfa1b72aa39f3 | |
parent | b9528c27a522b4d7f9029b1db5558dc62293fcb5 (diff) | |
download | mxe-478aa5f21dad7f8fe167fe7bc508c3dca3e533d3.zip mxe-478aa5f21dad7f8fe167fe7bc508c3dca3e533d3.tar.gz mxe-478aa5f21dad7f8fe167fe7bc508c3dca3e533d3.tar.bz2 |
Add msmtp to plugins/apps
-rw-r--r-- | plugins/apps/msmtp.mk | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/apps/msmtp.mk b/plugins/apps/msmtp.mk new file mode 100644 index 0000000..1dcf368 --- /dev/null +++ b/plugins/apps/msmtp.mk @@ -0,0 +1,30 @@ +# This file is part of MXE. See LICENSE.md for licensing information. + +PKG := msmtp +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.6.6 +$(PKG)_CHECKSUM := da15db1f62bd0201fce5310adb89c86188be91cd745b7cb3b62b81a501e7fb5e +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/$(PKG)/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_OWNER := https://github.com/andrew-strong +$(PKG)_DEPS := gcc libidn libgsasl gnutls libiconv libgpg_error libgcrypt libntlm + +define $(PKG)_UPDATE + $(WGET) -q -O- 'http://sourceforge.net/projects/msmtp/files/msmtp/' | \ + $(SED) -n 's,.*/\([0-9][^"]*\)/".*,\1,p' | \ + head -1 +endef + +define $(PKG)_BUILD + cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \ + $(MXE_CONFIGURE_OPTS) \ + --infodir='$(BUILD_DIR)/sink' \ + --disable-nls \ + --without-libsecret \ + --without-macosx-keyring \ + --with-tls=gnutls \ + --with-libidn + $(MAKE) -C $(BUILD_DIR) -j '$(JOBS)' + $(MAKE) -C $(BUILD_DIR) -j 1 install $(MXE_DISABLE_DOCS) +endef |