From 478aa5f21dad7f8fe167fe7bc508c3dca3e533d3 Mon Sep 17 00:00:00 2001 From: andrew-strong Date: Mon, 14 Nov 2016 18:33:08 +1100 Subject: Add msmtp to plugins/apps --- plugins/apps/msmtp.mk | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 plugins/apps/msmtp.mk 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 -- cgit v0.12