summaryrefslogtreecommitdiff
path: root/package/mutt
diff options
context:
space:
mode:
authorwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
committerwbx <wbx@hydrogenium.(none)>2009-05-17 14:41:34 +0200
commit219a6dab8995aad9ac4860cc1a84d6f3509a03a4 (patch)
treeb9c0f3c43aebba2fcfef777592d0add39f2072f4 /package/mutt
Initial import
Diffstat (limited to 'package/mutt')
-rw-r--r--package/mutt/Config.in11
-rw-r--r--package/mutt/Makefile39
-rw-r--r--package/mutt/ipkg/mutt.control5
-rw-r--r--package/mutt/patches/patch-Makefile_in21
4 files changed, 76 insertions, 0 deletions
diff --git a/package/mutt/Config.in b/package/mutt/Config.in
new file mode 100644
index 000000000..3be7e0768
--- /dev/null
+++ b/package/mutt/Config.in
@@ -0,0 +1,11 @@
+config ADK_PACKAGE_MUTT
+ prompt "mutt.............................. console mail client"
+ tristate
+ default n
+ select ADK_PACKAGE_LIBNCURSES
+ select ADK_PACKAGE_LIBOPENSSL
+ help
+ Mail client for the text console
+
+ http://www.mutt.org
+
diff --git a/package/mutt/Makefile b/package/mutt/Makefile
new file mode 100644
index 000000000..5d3a4b0ac
--- /dev/null
+++ b/package/mutt/Makefile
@@ -0,0 +1,39 @@
+# $Id$
+#-
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include ${TOPDIR}/rules.mk
+
+PKG_NAME:= mutt
+PKG_VERSION:= 1.5.19
+PKG_RELEASE:= 1
+PKG_MD5SUM:= 73b3747bc7f7c805921e8d24ebac693f
+MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=mutt/}
+
+include ${TOPDIR}/mk/package.mk
+
+$(eval $(call PKG_template,MUTT,mutt,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
+
+CONFIGURE_STYLE:= gnu
+CONFIGURE_ENV+= ac_cv_c_bigendian=no \
+ ac_cv_sizeof_off_t=8 \
+ ac_cv_sizeof_int=4 \
+ ac_cv_sizeof_long=4
+CONFIGURE_ARGS+= --includedir=${WRKBUILD}/. \
+ --oldincludedir=${WRKBUILD}/. \
+ --enable-pop \
+ --enable-imap \
+ --with-ssl
+BUILD_STYLE:= auto
+MAKE_FLAGS+= CC="${TARGET_CC}"
+#ALL_TARGET:=
+
+do-install:
+ ${INSTALL_DIR} ${IDIR_MUTT}/usr/bin
+ ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_MUTT}/usr/bin/
+ifeq (${ADK_PACKAGE_GPG},y)
+ ${INSTALL_BIN} ${WRKBUILD}/pgpewrap ${IDIR_MUTT}/usr/bin/
+endif
+
+include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/mutt/ipkg/mutt.control b/package/mutt/ipkg/mutt.control
new file mode 100644
index 000000000..493074895
--- /dev/null
+++ b/package/mutt/ipkg/mutt.control
@@ -0,0 +1,5 @@
+Package: mutt
+Priority: optional
+Section: text
+Depends: libncurses, libopenssl
+Description: Mail text client
diff --git a/package/mutt/patches/patch-Makefile_in b/package/mutt/patches/patch-Makefile_in
new file mode 100644
index 000000000..ab7867d78
--- /dev/null
+++ b/package/mutt/patches/patch-Makefile_in
@@ -0,0 +1,21 @@
+$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
+--- mutt-1.5.19.orig/Makefile.in 2009-01-05 20:24:13.000000000 +0100
++++ mutt-1.5.19/Makefile.in 2009-05-10 19:02:17.000000000 +0200
+@@ -129,7 +129,7 @@ RECURSIVE_CLEAN_TARGETS = mostlyclean-re
+ distclean-recursive maintainer-clean-recursive
+ ETAGS = etags
+ CTAGS = ctags
+-DIST_SUBDIRS = m4 po intl doc contrib imap
++DIST_SUBDIRS = m4 po intl contrib imap
+ DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+ distdir = $(PACKAGE)-$(VERSION)
+ top_distdir = $(distdir)
+@@ -291,7 +291,7 @@ top_srcdir = @top_srcdir@
+ AUTOMAKE_OPTIONS = 1.6 foreign
+ @BUILD_IMAP_TRUE@IMAP_SUBDIR = imap
+ @BUILD_IMAP_TRUE@IMAP_INCLUDES = -I$(top_srcdir)/imap
+-SUBDIRS = m4 po intl doc contrib $(IMAP_SUBDIR)
++SUBDIRS = m4 po intl contrib $(IMAP_SUBDIR)
+ bin_SCRIPTS = muttbug flea @SMIMEAUX_TARGET@
+ BUILT_SOURCES = keymap_defs.h patchlist.c reldate.h hcversion.h
+ mutt_SOURCES = \