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