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.

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