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.

54 lines
1.1 KiB

  1. #
  2. # Copyright (C) 2006-2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=mutt
  9. PKG_VERSION:=1.7.2
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=ftp://ftp.mutt.org/pub/mutt/ \
  12. https://bitbucket.org/mutt/mutt/downloads/
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. PKG_MD5SUM:=15425c4c9946d58c22ccb44901544e6d
  15. PKG_LICENSE:=GPL-2.0+
  16. PKG_LICENSE_FILES:=GPL
  17. PKG_MAINTAINER:=Phil Eichinger <phil@zankapfel.net>
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/mutt
  21. SECTION:=mail
  22. CATEGORY:=Mail
  23. DEPENDS:=+libopenssl +libncursesw +zlib
  24. TITLE:=Console mail client
  25. URL:=http://www.mutt.org/
  26. endef
  27. define Package/mutt/description
  28. Mutt is a small but very powerful text-based mail client for Unix
  29. operating systems.
  30. endef
  31. CONFIGURE_ARGS += \
  32. --includedir=$(PKG_BUILD_DIR)/. \
  33. --oldincludedir=$(PKG_BUILD_DIR)/. \
  34. --enable-pop \
  35. --enable-imap \
  36. --with-ssl \
  37. --without-idn
  38. define Package/mutt/install
  39. $(INSTALL_DIR) $(1)/usr/bin
  40. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mutt $(1)/usr/bin/
  41. endef
  42. $(eval $(call BuildPackage,mutt))