11d95a300f5d1edfe6be12184b29bcaeb9f3bde0
[openwrt/svn-archive/archive.git] / mail / mutt / Makefile
1 #
2 # Copyright (C) 2006-2008 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=mutt
11 PKG_VERSION:=1.5.18
12 PKG_RELEASE:=1
13
14 PKG_SOURCE_URL:=@SF/mutt
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
16 PKG_MD5SUM:=27c30037120189b9f9c0d3e76361b8f8
17
18 include $(INCLUDE_DIR)/package.mk
19
20 define Package/mutt
21 SECTION:=mail
22 CATEGORY:=Mail
23 DEPENDS:=+libopenssl +libncurses
24 TITLE:=Console mail client
25 URL:=http://www.mutt.org/
26 endef
27
28 CONFIGURE_ARGS += \
29 --includedir=$(PKG_BUILD_DIR)/. \
30 --oldincludedir=$(PKG_BUILD_DIR)/. \
31 --enable-pop \
32 --enable-imap \
33 --with-ssl
34
35 define Package/mutt/install
36 $(INSTALL_DIR) $(1)/usr/bin
37 $(CP) $(PKG_BUILD_DIR)/mutt $(1)/usr/bin/
38 endef
39
40 $(eval $(call BuildPackage,mutt))