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.

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