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.

57 lines
1.3 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.14.6
  10. PKG_RELEASE:=1
  11. PKG_SOURCE_URL:=https://bitbucket.org/mutt/mutt/downloads/ \
  12. http://ftp.mutt.org/pub/mutt/
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  14. PKG_HASH:=47972a0152b81b9f67ff322a0a6682b914c15545bfdeac6bcc2f2c0bf9361844
  15. PKG_MAINTAINER:=Phil Eichinger <phil@zankapfel.net>
  16. PKG_LICENSE:=GPL-2.0-or-later
  17. PKG_LICENSE_FILES:=GPL
  18. PKG_CPE_ID:=cpe:/a:mutt:mutt
  19. PKG_FIXUP:=autoreconf
  20. PKG_INSTALL:=1
  21. PKG_BUILD_PARALLEL:=1
  22. include $(INCLUDE_DIR)/package.mk
  23. define Package/mutt
  24. SECTION:=mail
  25. CATEGORY:=Mail
  26. DEPENDS:=+libopenssl +libncursesw +terminfo +zlib
  27. TITLE:=Console mail client
  28. URL:=http://www.mutt.org/
  29. endef
  30. define Package/mutt/description
  31. Mutt is a small but very powerful text-based mail client for Unix
  32. operating systems.
  33. endef
  34. CONFIGURE_ARGS += \
  35. --includedir=$(PKG_BUILD_DIR)/. \
  36. --oldincludedir=$(PKG_BUILD_DIR)/. \
  37. --enable-pop \
  38. --enable-imap \
  39. --with-ssl \
  40. --without-idn \
  41. --disable-doc
  42. define Package/mutt/install
  43. $(INSTALL_DIR) $(1)/usr/bin
  44. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mutt $(1)/usr/bin/
  45. endef
  46. $(eval $(call BuildPackage,mutt))