2006-08-06 10:06:28 +00:00
|
|
|
#
|
|
|
|
# Copyright (C) 2006 OpenWrt.org
|
|
|
|
#
|
|
|
|
# This is free software, licensed under the GNU General Public License v2.
|
|
|
|
# See /LICENSE for more information.
|
|
|
|
#
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=mutt
|
|
|
|
PKG_VERSION:=1.5.11
|
|
|
|
PKG_RELEASE:=1
|
|
|
|
|
|
|
|
PKG_SOURCE_URL:=@SF/mutt
|
|
|
|
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
|
|
|
PKG_MD5SUM:=00e6f8f7c37d4840e5e30583ebee21ce
|
|
|
|
PKG_CAT:=zcat
|
|
|
|
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
|
|
|
define Package/mutt
|
|
|
|
SECTION:=utils
|
|
|
|
CATEGORY:=Utilities
|
|
|
|
DEPENDS:=+libopenssl +libncurses
|
2006-10-30 13:51:50 +00:00
|
|
|
TITLE:=Console mail client
|
2007-01-08 11:19:08 +00:00
|
|
|
URL:=http://www.mutt.org/
|
2006-08-06 10:06:28 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Configure
|
2006-10-19 15:26:14 +00:00
|
|
|
$(call Build/Configure/Default, \
|
|
|
|
--includedir=$(PKG_BUILD_DIR)/. \
|
2006-08-06 10:06:28 +00:00
|
|
|
--oldincludedir=$(PKG_BUILD_DIR)/. \
|
|
|
|
--enable-pop \
|
|
|
|
--enable-imap \
|
2006-10-19 15:26:14 +00:00
|
|
|
--with-ssl \
|
|
|
|
)
|
2006-08-06 10:06:28 +00:00
|
|
|
endef
|
|
|
|
|
2006-10-30 13:51:50 +00:00
|
|
|
define Build/Compile
|
|
|
|
$(MAKE) -C $(PKG_BUILD_DIR)
|
|
|
|
endef
|
|
|
|
|
2006-08-06 10:06:28 +00:00
|
|
|
define Package/mutt/install
|
2006-11-23 00:29:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
2006-10-30 13:51:50 +00:00
|
|
|
$(CP) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
|
2006-08-06 10:06:28 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(call BuildPackage,mutt))
|